projects
/
rails.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Might be useful to set the locale everywhere we need the web, rather than just the...
[rails.git]
/
app
/
controllers
/
browse_controller.rb
diff --git
a/app/controllers/browse_controller.rb
b/app/controllers/browse_controller.rb
index e9081f02698911a8e01e5a2bd516d6ae9135cda9..c8242a29e6fe7a6f5da52b9083cc1e3e9216ceff 100644
(file)
--- a/
app/controllers/browse_controller.rb
+++ b/
app/controllers/browse_controller.rb
@@
-1,6
+1,7
@@
class BrowseController < ApplicationController
layout 'site'
+ before_filter :set_locale
before_filter :authorize_web
before_filter { |c| c.check_database_readable(true) }