admin_controller.rb 281 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 module Kanjai class AdminController < ApplicationController unloadable layout 'kanjai/admin' protect_from_forgery before_filter :authenticate_admin_user! before_filter :set_locale private def set_locale I18n.locale = :en end end end