Chore: Removed unused functions from home_controller (#512)
This commit is contained in:
parent
fbefb78817
commit
e0afb84502
3 changed files with 1 additions and 22 deletions
|
@ -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
|
||||
|
|
|
@ -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>
|
|
@ -15,8 +15,6 @@ Rails.application.routes.draw do
|
|||
get '/app/settings/inboxes/new/twitter', to: 'dashboard#index', as: 'app_new_twitter_inbox'
|
||||
get '/app/settings/inboxes/new/:inbox_id/agents', to: 'dashboard#index', as: 'app_twitter_inbox_agents'
|
||||
|
||||
match '/status', to: 'home#status', via: [:get]
|
||||
|
||||
resource :widget, only: [:show]
|
||||
|
||||
namespace :api, defaults: { format: 'json' } do
|
||||
|
|
Loading…
Reference in a new issue