stffn / declarative_authorization

An unmaintained authorization plugin for Rails. Please fork to support current versions of Rails
MIT License
1.24k stars 233 forks source link

Fix #204, allow :additional_collection to work with strong params #207

Open zeiv opened 9 years ago

zeiv commented 9 years ago

Per @tanelj's suggestion, fix a bug from in_controller.rb to include additional_collection in no_attribute_check_actions when using strong parameters.

urkle commented 9 years ago

Can you try not to make so many white-space changes in PRs. it makes it very difficult to see what actually was changed to the code.

zeiv commented 9 years ago

Sorry about that, I'm not sure why that happened. I think it may have been my text editor (Atom). In any case, only line 510 was substantially changed.