vhochstein / active_scaffold

Rails 4 Version of activescaffold supporting jquery
MIT License
156 stars 34 forks source link

allow implicit rendering to work #134

Closed clyfe closed 13 years ago

clyfe commented 13 years ago

The implicit renderer has no arguments (unlike most AS render calls that provide :partial => X or :action => Y).

This pull request fixes the "undefined method merge on nil" error when having a custom action in an AS enabled controller, action that does not call render itself, but relies on the implicit renderer instead.

vhochstein commented 13 years ago

Great, thanks a lot