RubyFlow The Ruby and Rails community linklog

How to DRY Rails routes

Some large Rails app have many resources in their config/routes.rb, some are repeated and could be DRY up. In following tutorial How to DRY Rails routes, the author walk you through how to achieve that with both Rails 3 and Rails 4.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in