This commit is contained in:
r888888888
2013-09-13 14:29:41 -07:00
parent d2e2a90799
commit 4420443f51
6 changed files with 54 additions and 2 deletions

View File

@@ -2,6 +2,11 @@ class TagAliasesController < ApplicationController
before_filter :admin_only, :only => [:approve, :new, :create]
respond_to :html, :xml, :json, :js
def show
@tag_alias = TagAlias.find(params[:id])
respond_with(@tag_alias)
end
def new
@tag_alias = TagAlias.new(params[:tag_alias])
respond_with(@tag_alias)

View File

@@ -2,6 +2,11 @@ class TagImplicationsController < ApplicationController
before_filter :admin_only, :only => [:new, :create, :approve]
respond_to :html, :xml, :json, :js
def show
@tag_implication = TagImplication.find(params[:id])
respond_with(@tag_implication)
end
def new
@tag_implication = TagImplication.new
respond_with(@tag_implication)