Sha256: 2c8f3bc7a621b8d96aebbd0901ae022a8583288cf3f928cbb49d65d7581f4780

Contents?: true

Size: 295 Bytes

Versions: 1

Compression:

Stored size: 295 Bytes

Contents

module <%= class_name %>
  class UserIdentitiesController < ::<%= class_name %>Controller
    require_login!

    unobtrusive resource_class: UserIdentity,
                relationship_name: :user_identities

    def destroy
      destroy_resource
      respond_with resource
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
billet-0.0.1 lib/generators/billet/namespace/templates/controllers/api_controllers/user_identities_controller.rb.erb