Sha256: e06893cf9d705f00b8f344be06b479a2dac2259d5af0ff774a03a41e5de20f4d
Contents?: true
Size: 624 Bytes
Versions: 6
Compression:
Stored size: 624 Bytes
Contents
<%= Rails.application.class.parent_name %>::Application.routes.draw do devise_for :users, :path_prefix => 'd' do # Aliased routes to match Rails Tutorial get 'signin', :to => 'devise/sessions#new' get 'signout', :to => 'devise/sessions#destroy' get 'signup', :to => 'devise/registrations#new' end # Additional user actions separated out into a new controller, # Note that Devise's controllers already handle login/logou, sign-up, etc. resources :users, :only => [:index, :show] match '/contact', :to => 'pages#contact' match '/about', :to => 'pages#about' root :to => 'pages#home' end
Version data entries
6 entries across 6 versions & 2 rubygems