Sha256: 461acdbe2c9d6ec4776629ab15f5be950f8bc6f10fe72f653479447d44d7cb32
Contents?: true
Size: 525 Bytes
Versions: 5
Compression:
Stored size: 525 Bytes
Contents
SlashAdmin::Engine.routes.draw do scope :admin do get "/" => "dashboard#home", :as => "dashboard" get "login" => "security/sessions#new" post "login", to: "security/sessions#create" get "logout" => "security/sessions#destroy" get "dashboard/toggle" => "dashboard#toggle", :as => "toggle_dashboard" get "search" => "selectize#search", :as => "remote_selectize" # Batch actions # DELETE post "batch_actions/delete/:model_class", to: "batch_actions#delete", as: "batch_delete" end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
slash_admin-1.0.6 | config/routes.rb |
slash_admin-1.0.5 | config/routes.rb |
slash_admin-1.0.4 | config/routes.rb |
slash_admin-1.0.3 | config/routes.rb |
slash_admin-1.0.2 | config/routes.rb |