def create
      myparams = authorized_for_params.merge(authority_params)
      if @authorizable.present?
        @authority = @authorizable.authorities.new(myparams)
      else
        @authority = Authority.new(myparams)
      end

      @authority.save
      respond_with(@authority, location: location)
    end
def create
      myparams = authorized_for_params.merge(authority_params)
      if @authorizable.present?
        @authority = @authorizable.authorities.new(myparams)
      else
        @authority = Authority.new(myparams)
      end

      @authority.save
      respond_with(@authority, location: location)
    end
POST /authorities