method

singular_route_name

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: Rails::Generators::NamedBase
singular_route_name() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/generators/named_base.rb, line 163
        def singular_route_name # :doc:
          if options[:model_name]
            "#{controller_class_path.join('_')}_#{singular_table_name}"
          else
            singular_table_name
          end
        end
Register or log in to add new notes.