Add active_language controller and cookie storage
This commit is contained in:
1 parent
c2891a66f8
commit
3ba4a49a26
8 files changed
+89
-1
No files matched your search
@@ -3,6 +3,9 @@ Rails.application.routes.draw do
|
||||
#get 'dictionary/index'
|
||||
resources :dictionary, only: [:index, :show, :create]
|
||||
resources :words, only: [:index, :show]
|
||||
|
||||
post '/set_active_language', action: :set_active_language, controller: :active_language
|
||||
|
||||
namespace :admin do
|
||||
resources :languages
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user