From 0fb091ebbc14c6232ccaef8df4597f574c69f599 Mon Sep 17 00:00:00 2001 From: maxwell <maxwell@joindiaspora.com> Date: Wed, 6 Oct 2010 18:38:37 -0700 Subject: [PATCH] MS pretty sure we dont need to get the oauth path every time we load the public aspect... --- app/controllers/aspects_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/aspects_controller.rb b/app/controllers/aspects_controller.rb index 3b9180be83..3d750d41f2 100644 --- a/app/controllers/aspects_controller.rb +++ b/app/controllers/aspects_controller.rb @@ -49,8 +49,8 @@ class AspectsController < ApplicationController end def public - @fb_access_url = MiniFB.oauth_url(FB_APP_ID, APP_CONFIG[:pod_url] + "services/create", - :scope=>MiniFB.scopes.join(",")) + # @fb_access_url = MiniFB.oauth_url(FB_APP_ID, APP_CONFIG[:pod_url] + "services/create", + # :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' -- GitLab