Sha256: aaa504a790cd50a749a07ca02baa582cf55fff6816891cec6c4f5adc3181a5cd
Contents?: true
Size: 410 Bytes
Versions: 2
Compression:
Stored size: 410 Bytes
Contents
class LabelsController < PostsController define_action :index, { name: 'labels index', params: { }, return: { } } do render json: [] end define_action :show, { name: 'label id show', params: { type: 'object', properties: { id: { type: 'string' } } }, return: { } } do render json: { user: current_user } return end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lina-0.0.4 | test/dummy/app/controllers/labels_controller.rb |
lina-0.0.3 | test/dummy/app/controllers/labels_controller.rb |