method

singular_route_name

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 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 159
        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.