Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (14 sloc) 436 Bytes
I18nDemo::Application.routes.draw do
devise_for :users
resources :articles
get "welcome/index", as: "welcome"
root to: 'welcome#index'
end
ActionDispatch::Routing::Translator.translate_from_file(
'config/locales/routes.yml', {
prefix_on_default_locale: true,
keep_untranslated_routes: true })
I18nDemo::Application.routes.draw do
ActiveAdmin.routes(self)
devise_for :admin_users, ActiveAdmin::Devise.config
end