Sha256: 40fdb1ad3e032201d5dd74126630b58944c777c5c555c531d6de299c6943aaea

Contents?: true

Size: 113 Bytes

Versions: 17

Compression:

Stored size: 113 Bytes

Contents

class DynamicPortlet < Cms::Portlet

  def render
    eval(@portlet.code) unless @portlet.code.blank?
  end

end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
browsercms-3.5.7 app/portlets/dynamic_portlet.rb
browsercms-3.5.6 app/portlets/dynamic_portlet.rb
browsercms-3.5.5 app/portlets/dynamic_portlet.rb
browsercms-3.5.4 app/portlets/dynamic_portlet.rb
browsercms-3.5.3 app/portlets/dynamic_portlet.rb
browsercms-3.5.2 app/portlets/dynamic_portlet.rb
browsercms-3.5.1 app/portlets/dynamic_portlet.rb
browsercms-3.5.0 app/portlets/dynamic_portlet.rb
browsercms-3.5.0.rc3 app/portlets/dynamic_portlet.rb
browsercms-3.5.0.rc2 app/portlets/dynamic_portlet.rb
browsercms-3.5.0.rc1 app/portlets/dynamic_portlet.rb
browsercms-3.4.2 app/portlets/dynamic_portlet.rb
browsercms-3.4.2.rc1 app/portlets/dynamic_portlet.rb
browsercms-3.4.1 app/portlets/dynamic_portlet.rb
browsercms-3.4.0 app/portlets/dynamic_portlet.rb
browsercms-3.4.0.rc2 app/portlets/dynamic_portlet.rb
browsercms-3.4.0.rc1 app/portlets/dynamic_portlet.rb