Sha256: f9e891861617c6b73a9fff75828f28bb0b677cf400a8baf617149411abc40558

Contents?: true

Size: 459 Bytes

Versions: 4

Compression:

Stored size: 459 Bytes

Contents

Rails.application.routes.draw do
  
  match "/admin" => redirect("/casein"), via: :get
  
  namespace :casein do
  
    resources :admin_users do
      member do
        patch :update_password, :reset_password
      end
    end
    
    resource :admin_user_session, only: [:new, :create, :destroy]
    resource :password_reset, only: [:create, :edit, :update]
        
    match "/blank" => "casein#blank", via: :get
    root to: "casein#index"
  end
  
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
casein-5.3.2.0 config/routes.rb
casein-5.3.1.0 config/routes.rb
casein-5.3.0.0 config/routes.rb
casein-5.2.0.0 config/routes.rb