Displaying 1 result from an estimated 1 matches for "the_moduletest".
2006 Nov 04
0
filter function with parameter
...ired(''users'',''update''), :only => [
:edit, :update ]
=>> syntax error on ''users'',''update''
when i do before_filter :module_backend_required(), :only => [ :edit,
:update ]
the controler prints
--------------------
the_moduletest
the_actiontest
--------------------
How can i get the 2 parameters? so i dont need to make a lot functions
for each module/action.
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060824/3dc7a380/att...