diff options
author | Azul <azul@leap.se> | 2012-10-17 16:02:33 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2012-10-17 16:02:33 +0200 |
commit | d9a510fa2126c29f0af58c6bbeff35802777eee6 (patch) | |
tree | 9e784338d95fc5d3e0b29f8083a07de43f2a1f53 /users/config | |
parent | 0c79df9874c59fbaa5c845e07d8fa1b4bbc23b9c (diff) | |
parent | dc0584f7d993ef7c75fbdd9d341ebb3337f3448d (diff) |
Merge branch 'feature-authentication_system' into develop
Diffstat (limited to 'users/config')
-rw-r--r-- | users/config/locales/en.yml | 6 | ||||
-rw-r--r-- | users/config/routes.rb | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/users/config/locales/en.yml b/users/config/locales/en.yml new file mode 100644 index 0000000..172b85f --- /dev/null +++ b/users/config/locales/en.yml @@ -0,0 +1,6 @@ +en: + signup: "Sign up" + signup_message: "Please create an account." + cancel: "Cancel" + login: "Login" + login_message: "Please login with your account." diff --git a/users/config/routes.rb b/users/config/routes.rb index cfc0407..522c40c 100644 --- a/users/config/routes.rb +++ b/users/config/routes.rb @@ -1,10 +1,10 @@ Rails.application.routes.draw do - get "log_in" => "sessions#new", :as => "log_in" - get "log_out" => "sessions#destroy", :as => "log_out" + get "login" => "sessions#new", :as => "login" + get "logout" => "sessions#destroy", :as => "logout" resources :sessions, :only => [:new, :create, :update, :destroy] - get "sign_up" => "users#new", :as => "sign_up" + get "signup" => "users#new", :as => "signup" resources :users, :only => [:new, :create] end |