Skip to content

Conversation

@stevecass
Copy link

No description provided.

nicollequintero and others added 30 commits October 18, 2014 00:54
Copy link

Choose a reason for hiding this comment

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

If you make your current_user a helper method, you won't need to set it as an instance variable and pass it down to the view. You could then also just check for a current user on the view and if there is not one do what you need to do. (I.e whatever it is that you do when @is_wishlist is false.)

@tsamb
Copy link

tsamb commented Oct 20, 2014

Have a look through the comments I have left in your code. The biggest thing I noticed was a need for refactoring controller logic into models (or helpers in some cases) and cleaning up your views to utilize partials more effectively.

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.

6 participants