Skip to content

Commit

Permalink
fixing more
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Tokumine committed Aug 27, 2008
1 parent 7bff387 commit 15c56dc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/controllers/application.rb
Expand Up @@ -14,6 +14,7 @@ class ApplicationController < ActionController::Base
# filter_parameter_logging :password

before_filter :set_locale

def set_locale
locale = params[:locale] || 'gibberish'
I18n.locale = locale
Expand Down
1 change: 1 addition & 0 deletions app/helpers/application_helper.rb
@@ -1,3 +1,4 @@
# Methods added to this helper will be available to all templates in the application.
module ApplicationHelper

end
2 changes: 1 addition & 1 deletion config/environment.rb
Expand Up @@ -70,5 +70,5 @@

#I18n.default_locale = 'pt-BR'
#I18n.locale = 'pt-BR'
I18n.default_locale = 'gibberish'
#I18n.default_locale = 'gibberish'
#I18n.locale = 'gibberish'
1 change: 1 addition & 0 deletions log/.gitignore
@@ -0,0 +1 @@
*.log

0 comments on commit 15c56dc

Please sign in to comment.