Module: Webring::Generators::Shared::RouteInjector

Overview

into the application’s routes.rb file. It’s used by various Webring generators to add their respective routes.

Examples:

# Then you can use the inject_webring_routes method:
inject_webring_routes("namespace :webring do\n  resources :members\nend")