Class: ActionDispatch::Routing::Mapper
- Inherits:
-
Object
- Object
- ActionDispatch::Routing::Mapper
- Defined in:
- lib/simple_admin/routes.rb
Instance Method Summary collapse
-
#mount_for_simple_admin ⇒ Object
Contain built-in routes.
Instance Method Details
#mount_for_simple_admin ⇒ Object
Contain built-in routes
15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/simple_admin/routes.rb', line 15 def mount_for_simple_admin namespace :api do namespace :v1 do namespace :simple_admin do resources :entities, only: [:index, :show] resources :resources post 'verify_key' => 'credentials#verify_key' end end end end |