MS pretty sure we dont need to get the oauth path every time we load the public aspect...
This commit is contained in:
parent
c68a026658
commit
0fb091ebbc
1 changed files with 2 additions and 2 deletions
|
|
@ -49,8 +49,8 @@ class AspectsController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def public
|
def public
|
||||||
@fb_access_url = MiniFB.oauth_url(FB_APP_ID, APP_CONFIG[:pod_url] + "services/create",
|
# @fb_access_url = MiniFB.oauth_url(FB_APP_ID, APP_CONFIG[:pod_url] + "services/create",
|
||||||
:scope=>MiniFB.scopes.join(","))
|
# :scope=>MiniFB.scopes.join(","))
|
||||||
|
|
||||||
@posts = current_user.visible_posts(:person_id => current_user.person.id, :public => true).paginate :page => params[:page], :per_page => 15, :order => 'created_at DESC'
|
@posts = current_user.visible_posts(:person_id => current_user.person.id, :public => true).paginate :page => params[:page], :per_page => 15, :order => 'created_at DESC'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue