Skip to content

Commit

Permalink
fix redirect url
Browse files Browse the repository at this point in the history
  • Loading branch information
tady committed Jul 23, 2014
1 parent 922e386 commit 9647445
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/controllers/posts_controller.rb
Expand Up @@ -82,7 +82,7 @@ def update
def destroy
@post.destroy
respond_to do |format|
format.html { redirect_to posts_url, flash: { success: 'Post successfully deleted.' } }
format.html { redirect_to flow_url, flash: { success: 'Post successfully deleted.' } }
format.json { head :no_content }
end
end
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/tags_controller.rb
Expand Up @@ -43,7 +43,7 @@ def update
def destroy
@tag.destroy
respond_to do |format|
format.html { redirect_to posts_url, flash: { success: 'Tag successfully deleted.' } }
format.html { redirect_to flow_url, flash: { success: 'Tag successfully deleted.' } }
format.json { head :no_content }
end
end
Expand Down

0 comments on commit 9647445

Please sign in to comment.