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
119 120 121 |
# File 'lib/active_admin/resource.rb', line 119 def route_instance_path [route_prefix, controller.resources_configuration[:self][:route_instance_name], 'path'].compact.join('_').to_sym end |