MS DG trying to move around fb url

This commit is contained in:
maxwell 2010-10-08 14:25:39 -07:00
parent 526fbe9a90
commit b6b192da01

View file

@ -44,7 +44,8 @@ class AspectsController < ApplicationController
@aspect = current_user.aspect_by_id params[:id]
@friends = @aspect.people
@posts = current_user.visible_posts( :by_members_of => @aspect ).paginate :per_page => 15, :order => 'created_at DESC'
@fb_access_url = MiniFB.oauth_url(FB_APP_ID, APP_CONFIG[:pod_url] + "services/create",
:scope=>MiniFB.scopes.join(","))
respond_with @aspect
end