Module Cms::Behaviors::Rendering::MacroMethods
In: lib/cms/behaviors/rendering.rb

Methods

Included Modules

InstanceMethods ActionController::Helpers ActionController::RequestForgeryProtection

Public Instance methods

[Source]

    # File lib/cms/behaviors/rendering.rb, line 34
34:         def is_renderable(options={})
35:       
36:           @instance_variable_name_for_view = options[:instance_variable_name_for_view]
37:       
38:           extend ClassMethods
39:           include InstanceMethods
40:       
41:           include ActionController::Helpers
42:           include ActionController::RequestForgeryProtection
43: 
44:           helper ApplicationHelper      
45:       
46:           attr_accessor :controller
47:           delegate :params, :session, :request, :flash, :to => :controller
48:       
49:         end

[Source]

    # File lib/cms/behaviors/rendering.rb, line 31
31:         def renderable?
32:           false
33:         end

[Validate]