diff --git a/app/controllers/tag_implications_controller.rb b/app/controllers/tag_implications_controller.rb index 1360ead17..46e721ef2 100644 --- a/app/controllers/tag_implications_controller.rb +++ b/app/controllers/tag_implications_controller.rb @@ -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 diff --git a/config/routes.rb b/config/routes.rb index 6e86a1aea..8e83931bd 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -202,6 +202,7 @@ Danbooru::Application.routes.draw do match "/comment" => redirect {|params, req| "/comments?page=#{req.params[:page]}"} match "/comment/index" => redirect {|params, req| "/comments?page=#{req.params[:page]}"} match "/comment/show/:id" => redirect("/comments/%{id}") + match "/comment/new" => redirect("/comments") match "/favorite" => redirect {|params, req| "/favorites?page=#{req.params[:page]}"} match "/favorite/index" => redirect {|params, req| "/favorites?page=#{req.params[:page]}"} @@ -210,6 +211,8 @@ Danbooru::Application.routes.draw do match "/forum" => redirect {|params, req| "/forum_topics?page=#{req.params[:page]}"} match "/forum/index" => redirect {|params, req| "/forum_topics?page=#{req.params[:page]}"} match "/forum/show/:id" => redirect("/forum_posts/%{id}") + match "/forum/search" => redirect("/forum_posts/search") + match "/forum/edit/:id" => redirect("/forum_posts/%{id}/edit") match "/note" => redirect {|params, req| "/notes?page=#{req.params[:page]}"} match "/note/index" => redirect {|params, req| "/notes?page=#{req.params[:page]}"}