Sha256: 1bbc07996acded6d7680de555591774c78e15daf0345360d469e5dc4cbe81eb9
Contents?: true
Size: 722 Bytes
Versions: 6
Compression:
Stored size: 722 Bytes
Contents
Faalis::Engine.routes.draw do get 'templates/*path' => 'dashboard#jstemplate' # Authentications devise_config = { :class_name => 'Faalis::User', :module => :devise } # Add omniauth callback if there was any provider unless Devise.omniauth_providers.empty? devise_config[:controllers] = { :omniauth_callbacks => 'faalis/omniauth/callbacks', } end devise_for :users, devise_config scope '(:locale)', :locale => Regexp.new(::I18n.available_locales.join('|')) do scope Faalis::Engine.dashboard_namespace.to_sym do get '' => 'dashboard#index', :as => 'dashboard' get 'modules' => 'dashboard#modules' end # Root URL root :to => 'home#index' end end
Version data entries
6 entries across 6 versions & 1 rubygems