fix tag implications api

This commit is contained in:
albert
2013-02-20 15:10:37 -05:00
parent 9530585476
commit 46e915354d
2 changed files with 4 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ class TagImplicationsController < ApplicationController
def index
@search = TagImplication.search(params[:search])
@tag_implications = @search.order("(case status when 'pending' then 0 when 'queued' then 1 else 2 end), antecedent_name, consequent_name").paginate(params[:page])
respond_with(@tag_implicationes)
respond_with(@tag_implications)
end
def create