Method: Rails::Generator::Commands::List#route_resources
- Defined in:
- lib/rails_generator/commands.rb
#route_resources(*resources) ⇒ Object
576 577 578 579 |
# File 'lib/rails_generator/commands.rb', line 576 def route_resources(*resources) resource_list = resources.map { |r| r.to_sym.inspect }.join(', ') logger.route "map.resources #{resource_list}" end |