Might be useful to set the locale everywhere we need the web, rather than just the...
[rails.git] / app / controllers / browse_controller.rb
index e9081f02698911a8e01e5a2bd516d6ae9135cda9..c8242a29e6fe7a6f5da52b9083cc1e3e9216ceff 100644 (file)
@@ -1,6 +1,7 @@
 class BrowseController < ApplicationController
   layout 'site'
 
 class BrowseController < ApplicationController
   layout 'site'
 
+  before_filter :set_locale
   before_filter :authorize_web  
   before_filter { |c| c.check_database_readable(true) }
 
   before_filter :authorize_web  
   before_filter { |c| c.check_database_readable(true) }