Sha256: 97dce2f6a20c0cc4ff041d35bae2c1a79cc5a5714dc62e09ce2659a0b956a077
Contents?: true
Size: 446 Bytes
Versions: 22
Compression:
Stored size: 446 Bytes
Contents
module Kuhsaft module Cms class AdminController < ApplicationController respond_to :html layout 'kuhsaft/admin' before_filter :set_translation_locale def default_url_options { :locale => params[:locale].presence || :en } end def set_translation_locale Kuhsaft::Page.current_translation_locale = params[:locale] if params[:locale].present? end end end end
Version data entries
22 entries across 22 versions & 1 rubygems