Method: ActiveAdmin::Resource#route_instance_path
- Defined in:
- lib/active_admin/resource.rb
#route_instance_path ⇒ Object
Returns the named route for an instance of this resource
107 108 109 |
# File 'lib/active_admin/resource.rb', line 107 def route_instance_path [route_prefix, controller.resources_configuration[:self][:route_instance_name], 'path'].compact.join('_').to_sym end |