Skip to content

Commit

Permalink
remove buggy gem
Browse files Browse the repository at this point in the history
  • Loading branch information
James McKinney committed Dec 3, 2013
1 parent 9c3bb0a commit f68c8ca
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion Gemfile
Expand Up @@ -8,7 +8,6 @@ gem 'thin'
# gem 'rails', :git => 'git://github.com/rails/rails.git'

gem 'andand'
gem 'http_accept_language'
gem 'nokogiri'
gem 'psych'
gem 'rest-client'
Expand Down
2 changes: 0 additions & 2 deletions Gemfile.lock
Expand Up @@ -52,7 +52,6 @@ GEM
haml (>= 3.1, < 4.1)
railties (>= 3.1, < 4.1)
hike (1.2.3)
http_accept_language (2.0.0)
i18n (0.6.8)
jquery-rails (3.0.4)
railties (>= 3.0, < 5.0)
Expand Down Expand Up @@ -138,7 +137,6 @@ DEPENDENCIES
andand
coffee-rails (~> 3.1.0)
haml-rails
http_accept_language
jquery-rails
nokogiri
pg
Expand Down
1 change: 0 additions & 1 deletion app/controllers/application_controller.rb
Expand Up @@ -6,7 +6,6 @@ class ApplicationController < ActionController::Base
def set_locale
I18n.locale = params[:locale] ||
I18n.available_locales.find{|x| x.to_s == request.subdomains.first} ||
request.compatible_language_from(I18n.available_locales) ||
I18n.default_locale
end
end

0 comments on commit f68c8ca

Please sign in to comment.