refactor security system

This commit is contained in:
2012-12-11 11:27:41 +01:00
parent f19044ae6a
commit 009b84f7cd
10 changed files with 151 additions and 103 deletions
+3
View File
@@ -144,6 +144,9 @@ en:
total: Total
product_category:
other_name: Overig
obtain_token:
title: Authenticate Qwaiter
obtain: Authenticate
section:
first_section_title: Room
manage_tables:
+3
View File
@@ -157,6 +157,9 @@ nl:
total: Totaal
product_category:
other_name: Overig
obtain_token:
title: Aanmelden bij Qwaiter
obtain: Aanmelden
section:
first_section_title: Ruimte
manage_tables:
+1
View File
@@ -55,6 +55,7 @@ Qwaiter::Application.routes.draw do
post '/user/approve_join_request' => 'user#approve_join_request'
post '/user/check_table_join_status' => 'user#check_table_join_status'
get '/user/obtain_token' => 'user#obtain_token', as: :user_obtain_token
post '/user/obtain_token' => 'user#obtain_token', constraints: {format: :json}