Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Professor bug #73

Merged
merged 4 commits into from
Mar 17, 2021
Merged

Professor bug #73

merged 4 commits into from
Mar 17, 2021

Conversation

Koorae
Copy link
Collaborator

@Koorae Koorae commented Mar 17, 2021

Fixed a few bugs and #72

@@ -51,6 +52,7 @@
description: "Saad has gifted the world an unparalleled resource for digging up the deepest and most disguised layers of white supremacy. This book is best experienced as a journey, and the chapters are presented in bite-size lessons so readers can sit with the content, allow for introspection, and engage in essential conversations with friends and family members.",
url: "https://bookshop.org/a/3433/9781728209807",
category: "Book")
=end
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These entries are duplicative of the entries in the CSV file

Copy link
Collaborator

@mikekben mikekben left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes work based on UI testing, and solve bugs pointed out by the community partner, and the CSV encoding bug for special characters. There are no extraneous changes.

@mikekben mikekben merged commit 9515e59 into main Mar 17, 2021
@@ -4,6 +4,10 @@
sessions: 'user/sessions'
#registrations: 'user/registrations'
}

devise_scope :user do
get '/users/sign_out' => 'devise/sessions#destroy'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll need to change these GET's to POST's

@@ -2,7 +2,7 @@ class ItemsController < ApplicationController
#This controller's function is for the items that are stored in the library database. It has operations that create, delete,
#and edit the items

before_action :check_admin, except: [:new, :index, :show, :search, :filter, :not_admin] #WIP must verify that the user is an admin in order for to run any procudure in this controller. An admin
before_action :check_admin, except: [:create, :check_user, :new, :index, :show, :search, :filter, :not_admin] #WIP must verify that the user is an admin in order for to run any procudure in this controller. An admin
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need the WIP comment anymore because it is a WI - done 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants