Sha256: b3fc803ea5a35b688c2db70d2b094ef47ff2e3db38b0bcf7d1676a0666e07016

Contents?: true

Size: 515 Bytes

Versions: 1

Compression:

Stored size: 515 Bytes

Contents

Rails.application.routes.draw do
  scope ':locale', defaults: { locale: I18n.locale } do
    ActiveAdmin.routes(self)
  end 
  #ActiveAdmin.routes(self)
  devise_for :user, controllers: { omniauth_callbacks: 'omniauth_callbacks', registrations: 'registrations' }, path: ''#, 
                    #path_names: { sign_in: 'sign_in', sign_out: 'sign_out', sign_up: 'sign_up' }
  
  devise_scope :user do
    get 'new_password' => 'devise/passwords#new'
  end

  devise_for :admin_users, ActiveAdmin::Devise.config
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
woodlock-0.0.1 config/routes.rb