Class: Wco::Api::TagsController

Inherits:
Wco::ApiController
  • Object
show all
Defined in:
app/controllers/wco/api/tags_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



4
5
6
7
# File 'app/controllers/wco/api/tags_controller.rb', line 4

def index
  authorize! :index, Wco::Tag
  @tags = Wco::Tag.all()
end