app/controllers/bushido/data_controller.rb in bushido-0.0.35 vs app/controllers/bushido/data_controller.rb in bushido-0.0.36

- old
+ new

@@ -20,11 +20,12 @@ hook_data["category"] = params["category"] hook_data["event"] = params["event"] hook_data["data"] = params["data"] puts "Firing with: #{hook_data.inspect}" + event = "#{params['category']}.#{params['event']}".gsub('.', '_').to_sym - Bushido::Data.fire(hook_data, "#{params['category']}.#{params['event']}") + Bushido::Data.fire(hook_data, event) respond_to do |format| format.json {render :json => {'acknowledged' => true}, :status => 200} end end