lib/jelly/jelly_controller.rb in honkster-jelly-0.8.10 vs lib/jelly/jelly_controller.rb in honkster-jelly-0.8.11
- old
+ new
@@ -4,10 +4,10 @@
def jelly_callback(callback_base_name = @action_name, options = {}, &block)
raw_jelly_callback(options) do
arguments = block ? instance_eval(&block) : []
arguments = [arguments] unless arguments.is_a?(Array)
- jelly_callback_hash("on_#{callback_base_name}", *arguments).merge(options)
+ jelly_notify_hash("on_#{callback_base_name}", *arguments).merge(options)
end
end
def raw_jelly_callback(options={}, &block)
options.symbolize_keys!