Sha256: 3083d529d53bfc7eb0e08efc5e277f148f7d58d3e409459ff4f201ac7a5834c0
Contents?: true
Size: 512 Bytes
Versions: 10
Compression:
Stored size: 512 Bytes
Contents
Rails.application.routes.draw do 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