consul/consul

View on GitHub
app/controllers/tags_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
class TagsController < ApplicationController
  load_and_authorize_resource
  respond_to :json

  def suggest
    @tags = Tag.search(params[:search]).map(&:name)
    respond_with @tags
  end
end