Module: Catche::Controller
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/catche/controller.rb,
lib/catche/controller/pages.rb,
lib/catche/controller/actions.rb
Defined Under Namespace
Modules: Actions, ClassMethods, Pages
Instance Method Summary collapse
Methods included from Pages
Methods included from Actions
Instance Method Details
#catche_tags ⇒ Object
43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/catche/controller.rb', line 43 def return @catche_tags if ! @catche_tags.nil? if resource = Catche::ResourceLoader.fetch_one(self, self.class.catche_resource_name) = Catche::Tag::Collect.resource(resource) @catche_tags = [:set] else = Catche::Tag::Collect.collection(self, self.class.catche_model) @catche_tags = [:set] end end |