Chore: Removed unused functions from home_controller (#512)

This commit is contained in:
Tim Lange
2020-02-19 09:21:22 +01:00
committed by GitHub
parent fbefb78817
commit e0afb84502
3 changed files with 1 additions and 22 deletions

View File

@@ -1,13 +1,9 @@
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

View File

@@ -1,15 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<title>Facebook Auth Example</title>
<%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>
<%= csrf_meta_tags %>
</head>
<body>
<div>
</div>
<%= yield %>
</body>
</html>