test/dummy/app/controllers/musician_controller.rb in cells-3.5.5 vs test/dummy/app/controllers/musician_controller.rb in cells-3.5.6
- old
+ new
@@ -1,32 +1,36 @@
class MusicianController < ActionController::Base
def index
render :text => render_cell(:bassist, :promote)
end
-
+
+ def promote
+ render :text => render_cell(:trumpeter, :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
+
+ render :text => html
end
-
+
end