diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-12 19:46:06 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-12 19:46:06 +0100 |
commit | 1aa477ac2f0e9195497899691bb5cc16a7034c01 (patch) | |
tree | c331188d6955cbdd12e78bc6ccdb2329b5dddf67 /app/controllers | |
parent | aab9f57e369c492bad03bcf15411394897314b4d (diff) |
Customized more doorkeeper views, only logged in users can create oauth apps
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/home_controller.rb | 8 |
1 files changed, 0 insertions, 8 deletions
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 |