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

Karis - Edges - MedaRanker-revisited #39

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open

Conversation

kimj42
Copy link

@kimj42 kimj42 commented Oct 30, 2018

No description provided.

@droberts-sea
Copy link

MediaRanker Revisted

What We're Looking For

Feature Feedback
General
Appropriate Tests on WorksController yes
Appropriate Tests on SessionsController yes
Appropriate Tests on UsersController yes
Completed OAuth yes
Basic Authorization (who can see what) yes
Overall Great work overall!

def require_user
current_user = User.find_by(id: session[:user_id])
if current_user
true

Choose a reason for hiding this comment

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

I love that you made this a controller filter. However, you've got the same helper method in both the works and users controllers - could you put this in the application controller to help DRY it up further?

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.

2 participants