Method: ActionDispatch::Routing::Mapper#mount_simpleadmin
- Defined in:
- lib/simpleadmin/routes.rb
#mount_simpleadmin ⇒ Object
Contain built-in routes
15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/simpleadmin/routes.rb', line 15 def mount_simpleadmin namespace :simple_admin do resources :entities, only: %i[index show] resources :entity_field_type_actions, only: :create resources :resources get 'resource_show_by', to: 'resources#show_by' get 'version', to: 'versions#show' end end |