Sha256: cba2744f866c958d35c6c13b9cb89a8f339c69fb03b10e2bd222f8eb970ca0ab

Contents?: true

Size: 341 Bytes

Versions: 1

Compression:

Stored size: 341 Bytes

Contents

ConstructorCore::Engine.routes.draw do
  devise_for :users, {
      class_name: 'ConstructorCore::User',
      skip: [:sessions, :passwords],
      module: :devise
  }

  as :user do
    get '/admin' => 'sessions#new'
    get '/login' => 'sessions#new'
    post '/login' => 'sessions#create'
    get '/logout' => 'sessions#destroy'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
constructor-core-0.4.0 config/routes.rb