Module: Webs::Controller::WebsController::ClassMethods

Defined in:
lib/controller/webs_controller.rb

Instance Method Summary collapse

Instance Method Details

#webs_helpersObject



12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'lib/controller/webs_controller.rb', line 12

def webs_helpers
  helper Webs::Helper::Application
  helper Webs::Helper::Params
  helper Webs::Helper::Tags
  helper Webs::Cache unless disable_cache
  include Webs::Helper::Params
  include Webs::Helper::Tags
  include Webs::Cache unless disable_cache
  helper_method :webs_site
  helper_method :webs_app_name
  helper_method :webs_permapath
  helper_method :webs_appenv_name
end