Sha256: 0585f94047f23ffaaf8c288b907ddae062431de2ed568d2fd334d1876a670ff6
Contents?: true
Size: 423 Bytes
Versions: 11
Compression:
Stored size: 423 Bytes
Contents
class Weeler::BaseController < Weeler::ApplicationController before_filter :set_current_menu_item before_filter :run_weeler_required_user_method protected def default_url_options(options={}) {} end private def set_current_menu_item @current_menu_item = "content" end def run_weeler_required_user_method eval(Weeler.required_user_method.to_s) if Weeler.required_user_method.present? end end
Version data entries
11 entries across 11 versions & 1 rubygems