OSDN Git Service

t#31524:fix spotting on panel
[pettanr/pettanr.git] / app / controllers / comics_controller.rb
index c42bbe9..848e4b2 100644 (file)
@@ -117,7 +117,7 @@ class ComicsController < ApplicationController
     respond_to do |format|
       if @comic.destroy_with_story
         flash[:notice] = I18n.t('flash.notice.destroyed', :model => Comic.model_name.human)
-        format.html { redirect_to '/home/comic' }
+        format.html { redirect_to '/home/comics' }
         format.json { head :ok }
       else
         flash[:notice] = I18n.t('flash.notice.not_destroyed', :model => Comic.model_name.human)