Sha256: 1224b5407c2cd61c9eb7898987d76ec312c2b54c5406020020e11c9d8cc7fec2

Contents?: true

Size: 526 Bytes

Versions: 24

Compression:

Stored size: 526 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" => "remote_select#search", :as => "remote_select"

    # Batch actions

    # DELETE
    post "batch_actions/delete/:model_class", to: "batch_actions#delete", as: "batch_delete"
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
slash_admin-1.5.11 config/routes.rb
slash_admin-1.5.10 config/routes.rb
slash_admin-1.5.9 config/routes.rb
slash_admin-1.5.8 config/routes.rb
slash_admin-1.5.7 config/routes.rb
slash_admin-1.5.6 config/routes.rb
slash_admin-1.5.5 config/routes.rb
slash_admin-1.5.4 config/routes.rb
slash_admin-1.5.3 config/routes.rb
slash_admin-1.5.2 config/routes.rb
slash_admin-1.5.1 config/routes.rb
slash_admin-1.5 config/routes.rb
slash_admin-1.4.1 config/routes.rb
slash_admin-1.4 config/routes.rb
slash_admin-1.3.5 config/routes.rb
slash_admin-1.3.4 config/routes.rb
slash_admin-1.3.3 config/routes.rb
slash_admin-1.3.2 config/routes.rb
slash_admin-1.3.1 config/routes.rb
slash_admin-1.3.0 config/routes.rb