Sha256: 820825653655dd76925b88d4ac9f8abf524949f6702038616d0520f09b28ddf1

Contents?: true

Size: 744 Bytes

Versions: 29

Compression:

Stored size: 744 Bytes

Contents

class LayoutsSystemSpecController < ApplicationController
  def widget_inside_erb_layout
    $order = [ ]
  end

  def erb_inside_widget_layout
    $order = [ ]
    render :layout => 'widget_layout'
  end

  def widget_inside_widget_layout
    $order = [ ]
    render :layout => 'widget_layout'
  end

  def render_widget
    render :widget => Views::LayoutsSystemSpec::TheRenderWidget.new
  end

  def render_widget_without_layout
    render :widget => Views::LayoutsSystemSpec::TheRenderWidget.new, :layout => false
  end

  def render_widget_with_alt_layout
    render :widget => Views::LayoutsSystemSpec::TheRenderWidget.new, :layout => 'alternate'
  end

  def yield_from_widget_explicitly
    render :layout => 'explicit_yield'
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
fortitude-0.9.6-java spec/rails/templates/layouts_system_spec/app/controllers/layouts_system_spec_controller.rb
fortitude-0.9.6 spec/rails/templates/layouts_system_spec/app/controllers/layouts_system_spec_controller.rb
fortitude-0.9.5-java spec/rails/templates/layouts_system_spec/app/controllers/layouts_system_spec_controller.rb
fortitude-0.9.5 spec/rails/templates/layouts_system_spec/app/controllers/layouts_system_spec_controller.rb
fortitude-0.9.4-java spec/rails/templates/layouts_system_spec/app/controllers/layouts_system_spec_controller.rb
fortitude-0.9.4 spec/rails/templates/layouts_system_spec/app/controllers/layouts_system_spec_controller.rb
fortitude-0.9.3-java spec/rails/templates/layouts_system_spec/app/controllers/layouts_system_spec_controller.rb
fortitude-0.9.3 spec/rails/templates/layouts_system_spec/app/controllers/layouts_system_spec_controller.rb
fortitude-0.9.2-java spec/rails/templates/layouts_system_spec/app/controllers/layouts_system_spec_controller.rb
fortitude-0.9.2 spec/rails/templates/layouts_system_spec/app/controllers/layouts_system_spec_controller.rb
fortitude-0.9.1-java spec/rails/templates/layouts_system_spec/app/controllers/layouts_system_spec_controller.rb
fortitude-0.9.1 spec/rails/templates/layouts_system_spec/app/controllers/layouts_system_spec_controller.rb
fortitude-0.9.0-java spec/rails/templates/layouts_system_spec/app/controllers/layouts_system_spec_controller.rb
fortitude-0.9.0 spec/rails/templates/layouts_system_spec/app/controllers/layouts_system_spec_controller.rb
fortitude-0.0.10-java spec/rails/templates/layouts_system_spec/app/controllers/layouts_system_spec_controller.rb
fortitude-0.0.10 spec/rails/templates/layouts_system_spec/app/controllers/layouts_system_spec_controller.rb
fortitude-0.0.9-java spec/rails/templates/layouts_system_spec/app/controllers/layouts_system_spec_controller.rb
fortitude-0.0.9 spec/rails/templates/layouts_system_spec/app/controllers/layouts_system_spec_controller.rb
fortitude-0.0.7-java spec/rails/templates/layouts_system_spec/app/controllers/layouts_system_spec_controller.rb
fortitude-0.0.7 spec/rails/templates/layouts_system_spec/app/controllers/layouts_system_spec_controller.rb