Skip to content

Commit

Permalink
Style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Cantido committed Apr 25, 2015
1 parent 7de6a7a commit bc41bc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/controllers/concerns/localized.rb
Expand Up @@ -24,8 +24,8 @@ def set_locale
# 1. a URL paramter called "locale"
# 2. the +HTTP_ACCEPT_LANGUAGE+ header property
def requested_locale
validate_locale locale_from_url_params ||
locale_from_accept_language_header
validate_locale locale_from_url_params ||
locale_from_accept_language_header
end

# Returns the given locale if localizations for it are available.
Expand Down
2 changes: 0 additions & 2 deletions config/application.rb
Expand Up @@ -22,9 +22,7 @@ class Application < Rails::Application

# The default locale is :en and all translations
# from config/locales/*.rb,yml are auto loaded.
#


config.i18n.load_path +=
Dir[Rails.root.join('config', 'locales', '**', '*.{rb,yml}')]

Expand Down

0 comments on commit bc41bc0

Please sign in to comment.