writing resources in routes files
Posted by
sandeep45
on
January 10, 2012
Below is how I have been writing resources which only have custom actions.
Is this a good practice?
resources person, :only => [] do
method do
get 'show_wealth'
get 'show_debit'
end
end

Login to leave a comment