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

fixes #6512 - move valid notices routes inside resources block #4393

Merged
merged 1 commit into from Jul 14, 2014
Merged

fixes #6512 - move valid notices routes inside resources block #4393

merged 1 commit into from Jul 14, 2014

Conversation

stbenjam
Copy link
Contributor

@stbenjam stbenjam commented Jul 7, 2014

In Rails 3.2.8, it's not seeing the previous notice route get_new as
being part of the engine. Moving inside a resource block fixes that
problem. I also removed 2 routes that aren't valid and shouldn't exist
anymore - note_count and auto_complete_search.

get "notices/note_count"
get "notices/get_new"
get "notices/auto_complete_search"
resources :notices do
Copy link
Contributor

Choose a reason for hiding this comment

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

Might want to add a :only=>[] to this, otherwise by default rails will automatically add 7 routes including create/update/index/

@parthaa
Copy link
Contributor

parthaa commented Jul 8, 2014

APJ once comments are addressed

In Rails 3.2.8, it's not seeing the previous notice route get_new as
being part of the engine.  Moving inside a resource block fixes that
problem.  I also removed 2 routes that aren't valid and shouldn't exist
anymore - note_count and auto_complete_search.
@stbenjam
Copy link
Contributor Author

@parthaa Fixed

@waldenraines
Copy link
Contributor

ACK

waldenraines pushed a commit that referenced this pull request Jul 14, 2014
fixes #6512 - move valid notices routes inside resources block
@waldenraines waldenraines merged commit a72a747 into Katello:master Jul 14, 2014
@stbenjam stbenjam deleted the 6512-notices branch September 18, 2014 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants