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 #6825 - refactor api/v2/filters_controller.rb to use find_optional_nested_object and add Authorizable to class Role #1630

Closed
wants to merge 1 commit into from

Conversation

isratrade
Copy link
Member

No description provided.

…find_optional_nested_object and add Authorizable to class Role
@isratrade
Copy link
Member Author

After refactoring filters_controller to use find_optional_nested_object, it was discovered that Role doesn't respond to authorized method, so include Authorizable was added to role.rb

This is commit is also part of PR #4181 so that tests pass for filters_controller with unwrapped params

@domcleal
Copy link
Contributor

domcleal commented Aug 1, 2014

Merged as 39054ec, thanks @isratrade!

@domcleal domcleal closed this Aug 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants