Skip to content

Commit 7060ae4

Browse files
committed
Set event as parameter for Callback
1 parent 269a5b2 commit 7060ae4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
class CallbacksController < ApplicationController
22
def index
3-
@response = response
3+
@event = params["json"]
44
end
55
end

app/views/callbacks/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Hello API event received
22

33
<div class="response-data">
4-
<%= @response %>
4+
<%= @event %>
55
</div>

0 commit comments

Comments
 (0)