0
0
Fork 0

Customized more doorkeeper views, only logged in users can create oauth apps

This commit is contained in:
Eugen Rochko 2016-03-12 19:46:06 +01:00
parent aab9f57e36
commit 1aa477ac2f
16 changed files with 234 additions and 102 deletions

View file

@ -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