example/lib/application.rb in joyce-0.2.1 vs example/lib/application.rb in joyce-0.2.2
- old
+ new
@@ -23,10 +23,10 @@
end
class Application < Joyce::Application
viewed_with Example::SampleAppView
- def setup
+ def setup(*)
GameView.create(active_player_id: player_id)
sim.params[:active_player_id] = player_id
end
def tick