class Rails::Generators::NamedBase

def plural_route_name # :doc:

:doc:
def plural_route_name # :doc:
  if options[:model_name]
    "#{controller_class_path.join('_')}_#{plural_table_name}"
  else
    plural_table_name
  end
end