Skip to content

Commit edeaae7

Browse files
committed
Add MVC for callbacks and Hello API Event Received text
1 parent 9695366 commit edeaae7

4 files changed

Lines changed: 6 additions & 0 deletions

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
class CallbacksController < ApplicationController
2+
end

app/models/callback.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
class Callback < ApplicationRecord
2+
end

app/views/callbacks/index.html.erb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Hello API event received

config/routes.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
Rails.application.routes.draw do
22
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
33
resources :signs
4+
resources :callbacks
45

56
root 'signs#index'
67

0 commit comments

Comments
 (0)