pakyow-presenter/lib/pakyow/presenter/ext/app.rb in pakyow-presenter-0.11.1 vs pakyow-presenter/lib/pakyow/presenter/ext/app.rb in pakyow-presenter-0.11.2

- old
+ new

@@ -1,9 +1,9 @@ module Pakyow class App class << self RESOURCE_ACTIONS[:presenter] = Proc.new { |app, set_name, _, _| - app.bindings { scope(set_name) { restful(set_name) } } + app.bindings(set_name) { scope(set_name) { restful(set_name) } } } def bindings(set_name = :main, &block) if set_name && block bindings[set_name] = block