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)