Sha256: 767a30a7f8a771290333e1cea0a95a4c6170f354fd4909293f2ce1274e88a1f4
Contents?: true
Size: 239 Bytes
Versions: 13
Compression:
Stored size: 239 Bytes
Contents
class ApplicationController < ActionController::Base # protect_from_forgery before_filter :set_locale def set_locale # if params[:locale] is nil then I18n.default_locale will be used I18n.locale = params[:locale] end end
Version data entries
13 entries across 13 versions & 1 rubygems