projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f83a56
)
Allow user details to be fetched without agreeing terms
author
Tom Hughes
<tom@compton.nu>
Mon, 18 Apr 2011 21:23:48 +0000
(22:23 +0100)
committer
Tom Hughes
<tom@compton.nu>
Mon, 18 Apr 2011 21:23:48 +0000
(22:23 +0100)
app/controllers/user_controller.rb
patch
|
blob
|
history
diff --git
a/app/controllers/user_controller.rb
b/app/controllers/user_controller.rb
index de43fee144428780f1d27f36e669347d8b96a218..fcf6526eb0eb1db8c91f6c4a0dd7ea2706679585 100644
(file)
--- a/
app/controllers/user_controller.rb
+++ b/
app/controllers/user_controller.rb
@@
-1,7
+1,7
@@
class UserController < ApplicationController
layout :choose_layout
- before_filter :disable_terms_redirect, :only => [:terms, :save, :logout]
+ before_filter :disable_terms_redirect, :only => [:terms, :save, :logout
, :api_details
]
before_filter :authorize, :only => [:api_details, :api_gpx_files]
before_filter :authorize_web, :except => [:api_details, :api_gpx_files]
before_filter :set_locale, :except => [:api_details, :api_gpx_files]