commenting out mobile for now. photos now post from only a users photos
This commit is contained in:
parent
c7ac90538a
commit
f4ff48f5c0
2 changed files with 3 additions and 3 deletions
|
|
@ -3,10 +3,10 @@
|
|||
# the COPYRIGHT file.
|
||||
|
||||
class ApplicationController < ActionController::Base
|
||||
has_mobile_fu
|
||||
#has_mobile_fu
|
||||
protect_from_forgery :except => :receive
|
||||
|
||||
before_filter :mobile_except_ipad
|
||||
# =>before_filter :mobile_except_ipad
|
||||
before_filter :set_contacts_and_status, :except => [:create, :update]
|
||||
before_filter :count_requests
|
||||
before_filter :set_invites
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ class StatusMessagesController < ApplicationController
|
|||
respond_to :json, :only => :show
|
||||
|
||||
def create
|
||||
photos = Photo.all(:id.in => [*params[:photos]])
|
||||
photos = Photo.all(:id.in => [*params[:photos]], :diaspora_handle => current_user.person.diaspora_handle)
|
||||
|
||||
public_flag = params[:status_message][:public]
|
||||
public_flag.to_s.match(/(true)/) ? public_flag = true : public_flag = false
|
||||
|
|
|
|||
Loading…
Reference in a new issue