-
Notifications
You must be signed in to change notification settings - Fork 50
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
Use a dedicated helper to check current controller action in views #1425 #1428
Conversation
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.
This PR needs to be rebased, it contains tons of changes that are from other commits. Are you sure you started with the latest HEADs, originally?
I guess I got confused should PR go to dev or master. I switched it to master, which seems to be the current policy, so irrelevant staff does not show now. Should I still do something else? |
BrainPortal/app/views/layouts/_neurohub_secondary_navbar.html.erb
Outdated
Show resolved
Hide resolved
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.
Check my comments, I think there is only one bug.
There is now a conflict because this PR changes one line in data_providers/new.html.erb that was also modified by a PR merged yesterday! Just fix manually please so we can merge. |
fixing, not sure did it work, will check in a min |
I think it worked. I'll merge the PR once the tests have finished. |
Refactor action checking.
for details see #1425
a separate commit contains few simplifications of the related NeuroHub code