Sha256: 31ab4779565fa72219cc630e4c347c702c18d1fdf2077d58fa142182234bd9b0
Contents?: true
Size: 642 Bytes
Versions: 1
Compression:
Stored size: 642 Bytes
Contents
module ActionDispatch::Routing class Mapper # Contain built-in routes # # @example # # # config/routes.rb # # Rails.application.routes.draw do # mount_for_simple_admin # end # # @since 1.0.0 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 'resource_show_total', to: 'resources#show_total' get 'version', to: 'versions#show' end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
simpleadmin-1.2.7 | lib/simpleadmin/routes.rb |