def toggle_save
      return if !verify_logged_in

      resp = Caboose::StdClass.new
      if SavedProperty.where(:user_id => logged_in_user.id, :mls => params[:mls]).exists?
        SavedProperty.where(:user_id => logged_in_user.id, :mls => params[:mls]).destroy_all
        resp.saved = false
      else
        p = SavedProperty.new
        p.user_id = logged_in_user.id
        p.mls = params[:mls]
        p.save
        resp.saved = true
      end

      render :json => resp
    end
def toggle_save
      return if !verify_logged_in

      resp = Caboose::StdClass.new
      if SavedProperty.where(:user_id => logged_in_user.id, :mls => params[:mls]).exists?
        SavedProperty.where(:user_id => logged_in_user.id, :mls => params[:mls]).destroy_all
        resp.saved = false
      else
        p = SavedProperty.new
        p.user_id = logged_in_user.id
        p.mls = params[:mls]
        p.save
        resp.saved = true
      end

      render :json => resp
    end
GET /saved-properties/:mls/toggle