lib/playa/controller.rb in playa-0.0.5 vs lib/playa/controller.rb in playa-0.0.6
- old
+ new
@@ -4,11 +4,11 @@
def initialize(args = [])
@player = Player.new
event :update do
- @view = View.render(menu.items)
+ @view = View.render(menu.view)
end
event :select do |track|
trigger(:play, track)
end
@@ -32,10 +32,10 @@
end
trigger(:update)
end
@args = args
- @view = View.render(menu.items)
+ @view = View.render(menu.view)
end
private
attr_reader :args