-
Couldn't load subscription status.
- Fork 2
For Review - don't merge #40
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
base: sc_review_base
Are you sure you want to change the base?
Conversation
Change user trip layout
add geocomplete library
geocomplete function done
Add expense to wishlist
unnested expenses from trips
Remove duplicate stylesheet links
Dashboard view
There was a problem hiding this comment.
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.)
|
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. |
No description provided.