From 1aa477ac2f0e9195497899691bb5cc16a7034c01 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 12 Mar 2016 19:46:06 +0100 Subject: Customized more doorkeeper views, only logged in users can create oauth apps --- app/controllers/home_controller.rb | 8 -------- 1 file changed, 8 deletions(-) (limited to 'app/controllers') diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb index 5238b2fc0..c65377082 100644 --- a/app/controllers/home_controller.rb +++ b/app/controllers/home_controller.rb @@ -4,13 +4,5 @@ class HomeController < ApplicationController before_action :authenticate_user! def index - feed = Feed.new(:home, current_user.account) - @statuses = feed.get(20, (params[:offset] || 0).to_i) - end - - def mentions - feed = Feed.new(:mentions, current_user.account) - @statuses = feed.get(20, (params[:offset] || 0).to_i) - render action: :index end end -- cgit