Updating Gemfile to pull from secure rubygems and updating documentation #31

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
@Emerson

Emerson commented Aug 1, 2013

Just some documentation updates as well as updating gemfile source to be more secure

@@ -24,13 +24,13 @@ class SomeController < ApplicationController
def some_action
- http_accept_language.user_preferred_languages # => [ 'nl-NL', 'nl-BE', 'nl', 'en-US', 'en' ]
+ request.user_preferred_languages # => [ 'nl-NL', 'nl-BE', 'nl', 'en-US', 'en' ]

This comment has been minimized.

@DouweM

DouweM Sep 6, 2013

Collaborator

Why request rather than http_accept_languages? Only the former is part of the EasyAccess module in railtie.rb.

@DouweM

DouweM Sep 6, 2013

Collaborator

Why request rather than http_accept_languages? Only the former is part of the EasyAccess module in railtie.rb.

@DouweM DouweM closed this in 96523e9 Sep 6, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment