lib/lookbook/engine.rb in lookbook-2.1.0 vs lib/lookbook/engine.rb in lookbook-2.1.1
- old
+ new
@@ -144,12 +144,12 @@
def hooks
@_hooks ||= HookStore.new
end
- def run_hooks(event_name, *)
+ def run_hooks(event_name, *args)
hooks.for_event(event_name).each do |hook|
- hook.call(Lookbook, *)
+ hook.call(Lookbook, *args)
end
end
def host_app_path
Rails.application.root.join("app")