Sha256: 0345c701ad17c9eca49225304747065a71c76a565975be9d830acbf279475ee0

Contents?: true

Size: 538 Bytes

Versions: 9

Compression:

Stored size: 538 Bytes

Contents

class MusicianController < ActionController::Base
  def index
    render :text => render_cell(:bassist, :promote)
  end
            
  def promotion
    render :text => render_cell(:bassist, :provoke)
  end
  
  def featured
  end
  
  def featured_with_block
  end
  
  def skills
    render :text => render_cell(:bassist, :listen)
  end
  
  def hamlet
  end
  
  attr_reader :flag
  def promotion_with_block
    html = render_cell(:bassist, :play) do |cell|
      @flag = cell.class
    end
    
    render :text => html 
  end
  
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cells-3.5.5 test/dummy/app/controllers/musician_controller.rb
cells-3.5.4 test/dummy/app/controllers/musician_controller.rb
cells-3.5.2 test/dummy/app/controllers/musician_controller.rb
cells-3.5.1 test/dummy/app/controllers/musician_controller.rb
cells-3.5.0 test/dummy/app/controllers/musician_controller.rb
cells-3.5.0.beta2 test/dummy/app/controllers/musician_controller.rb
cells-3.5.0.beta1 test/dummy/app/controllers/musician_controller.rb
cells-3.4.4 test/dummy/app/controllers/musician_controller.rb
cells-3.4.3 test/dummy/app/controllers/musician_controller.rb