Merge branch 'master' of github.com:diaspora/diaspora
This commit is contained in:
commit
b9d28f6d21
2 changed files with 2 additions and 2 deletions
|
|
@ -21,7 +21,7 @@ class ApplicationController < ActionController::Base
|
||||||
|
|
||||||
protect_from_forgery :except => :receive
|
protect_from_forgery :except => :receive
|
||||||
|
|
||||||
before_filter :set_friends_and_status
|
before_filter :set_friends_and_status, :except => [:create, :update]
|
||||||
before_filter :count_requests
|
before_filter :count_requests
|
||||||
|
|
||||||
layout :layout_by_resource
|
layout :layout_by_resource
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ class AspectsController < ApplicationController
|
||||||
def create
|
def create
|
||||||
@aspect = current_user.aspect params[:aspect]
|
@aspect = current_user.aspect params[:aspect]
|
||||||
flash[:notice] = "Click on the plus on the left side to tell Diaspora who can see your new aspect."
|
flash[:notice] = "Click on the plus on the left side to tell Diaspora who can see your new aspect."
|
||||||
respond_with :location => edit_aspect_path(@aspect)
|
respond_with :location => aspects_manage_path
|
||||||
end
|
end
|
||||||
|
|
||||||
def new
|
def new
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue