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 33
33:         def is_renderable(options={})
34:       
35:           @instance_variable_name_for_view = options[:instance_variable_name_for_view]
36:       
37:           extend ClassMethods
38:           include InstanceMethods
39:       
40:           include ActionController::Helpers
41:           include ActionController::RequestForgeryProtection
42: 
43:           helper ApplicationHelper      
44:       
45:           attr_accessor :controller
46:           delegate :params, :session, :request, :flash, :to => :controller
47:       
48:         end

[Source]

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

[Validate]