Class UsedTagsController
In: app/controllers/used_tags_controller.rb
Parent: ApplicationController

Methods

index  

Public Instance methods

REST-methods

[Source]

    # File app/controllers/used_tags_controller.rb, line 17
17:   def index
18:     @used_tags = UsedTag.find(:all,
19:         :conditions => ['string LIKE ?', "%#{params[:search]}%"], 
20:         :order => 'string ASC')
21:     @tags = @used_tags.collect {|t| t.tag}.reject {|t| t.system?}
22:   end

[Validate]