Routes paths and Namespacing in Rails
Instead of doing editadmincategory_article(@category, @article), just do [:edit, :admin, @category, @article].
Written by Charles-Henri
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#