search for: sign_on

Displaying 1 result from an estimated 1 matches for "sign_on".

Did you mean: sign_in
2007 Jan 19
1
Trouble with Rails/Ri18n
...th a browser requesting ''de'', worked righted with a browser requesting en :) Error: can''t convert nil into String in application.rb class ApplicationController < ActionController::Base before_filter :localize before_filter :authenticate, :except => [:login, :sign_on] private def localize lang = if @request.env[''HTTP_ACCEPT_LANGUAGE''].nil? ''en'' else lang = @request.env[''HTTP_ACCEPT_LANGUAGE''].split(''-'')[0] end I18nService.instance.lang = lang...