Initial Commit
Co-authored-by: Subin <subinthattaparambil@gmail.com> Co-authored-by: Manoj <manojmj92@gmail.com> Co-authored-by: Nithin <webofnithin@gmail.com>
This commit is contained in:
13
app/controllers/home_controller.rb
Normal file
13
app/controllers/home_controller.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
require 'rest-client'
|
||||
require 'telegram/bot'
|
||||
class HomeController < ApplicationController
|
||||
skip_before_action :verify_authenticity_token , only: [:telegram]
|
||||
skip_before_action :authenticate_user! , only: [:telegram], raise: false
|
||||
skip_before_action :set_current_user
|
||||
skip_before_action :check_subscription
|
||||
def index
|
||||
end
|
||||
def status
|
||||
head :ok
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user