]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/changeset_tag_controller.rb
Might be useful to set the locale everywhere we need the web, rather than just the...
[rails.git] / app / controllers / changeset_tag_controller.rb
index 3e8db3fc24539839e7f915dcf922c4caf9407b2e..527149f77e66ce22872b2d2c5a4f1964ac9641b8 100644 (file)
@@ -1,6 +1,8 @@
 class ChangesetTagController < ApplicationController
   layout 'site'
 
 class ChangesetTagController < ApplicationController
   layout 'site'
 
+  before_filter :set_locale
+
   def search
     @tags = ChangesetTag.find(:all, :limit => 11, :conditions => ["match(v) against (?)", params[:query][:query].to_s] )
   end
   def search
     @tags = ChangesetTag.find(:all, :limit => 11, :conditions => ["match(v) against (?)", params[:query][:query].to_s] )
   end