fix on aspect#show in @friends_not_in_aspect
This commit is contained in:
parent
bb9a6e47a4
commit
6626b00961
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ class AspectsController < ApplicationController
|
||||||
|
|
||||||
def show
|
def show
|
||||||
@aspect = current_user.aspect_by_id params[:id]
|
@aspect = current_user.aspect_by_id params[:id]
|
||||||
@friends_not_in_aspect = current_user.friends #current_user.friends_not_in_aspect(@aspect)
|
@friends_not_in_aspect = current_user.friends_not_in_aspect(@aspect)
|
||||||
unless @aspect
|
unless @aspect
|
||||||
render :file => "#{Rails.root}/public/404.html", :layout => false, :status => 404
|
render :file => "#{Rails.root}/public/404.html", :layout => false, :status => 404
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue