Sha256: 09c6b9215e7f43375465da3ee4422cac2cdac2ae64a2c3db9d5ec06892633aa7

Contents?: true

Size: 564 Bytes

Versions: 10

Compression:

Stored size: 564 Bytes

Contents

Rails.application.routes.draw do
    mount RailsAdmin::Engine => '/app', as: 'rails_admin'
    
    get "home", to: "pages#home", as: "home"
    get "inside", to: "pages#inside", as: "inside"
    get "/contact", to: "pages#contact", as: "contact"
    post "/emailconfirmation", to: "pages#email", as: "email_confirmation"
    
    devise_scope :user do
        root to: "devise/sessions#new"
    end

    # Allow any authenticated User with admin capability
    authenticate :user, lambda { |u| u.admin? } do
        mount Blazer::Engine, at: "blazer"
    end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
thecore_ui_rails_admin-2.7.7 config/routes.rb
thecore_ui_rails_admin-2.7.5 config/routes.rb
thecore_ui_rails_admin-2.7.4 config/routes.rb
thecore_ui_rails_admin-2.7.3 config/routes.rb
thecore_ui_rails_admin-2.7.2.pre.test config/routes.rb
thecore_ui_rails_admin-2.7.1 config/routes.rb
thecore_ui_rails_admin-2.7.0 config/routes.rb
thecore_ui_rails_admin-2.6.3 config/routes.rb
thecore_ui_rails_admin-2.6.2 config/routes.rb
thecore_ui_rails_admin-2.6.1 config/routes.rb