summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDavisLWebb <davislwebb@ymail.com>2014-04-03 17:56:15 -0400
committerDavisLWebb <davislwebb@ymail.com>2014-04-03 17:56:15 -0400
commit6289593da4b6ad30c893b61caf4ac142b590710a (patch)
tree9de58a8f93ac7775582ae2b22928aa16cd144beb /config
parent9236bc8f79bf18f7aa9802090c53536fe20108bb (diff)
Captcha
Diffstat (limited to 'config')
-rw-r--r--config/locales/en.yml8
-rw-r--r--config/routes.rb2
2 files changed, 10 insertions, 0 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 0653957..9b7f013 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -21,3 +21,11 @@
en:
hello: "Hello world"
+
+ simple_captcha:
+ placeholder: "Enter the image value"
+ label: "Enter the code in the box:"
+
+ message:
+ default: "Secret Code did not match with the Image"
+ user: "The secret Image and code were different"
diff --git a/config/routes.rb b/config/routes.rb
index 571e629..01a63e9 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -13,6 +13,8 @@ Leaguer::Application.routes.draw do
resource :server, only: [:show, :edit, :update]
+ #match 'simple_captcha/:id', :to => 'simple_captcha#show', :as => :simple_captcha
+
resources :teams
resources :tournaments do
resources :matches