jcasimir / locale_setter

A simple library to set request locale based on a hierarchy of factors
MIT License
118 stars 18 forks source link

removes obsolete conditional #4

Closed ayrton closed 11 years ago

ayrton commented 11 years ago

LocaleSetter::User.for starts checking if user is not false:

if user && user.respond_to?(locale_method) &&
jcasimir commented 11 years ago

Good point, thanks.