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