diff --git a/app/controllers/posts_controller.rb b/app/controllers/posts_controller.rb index 150e0292e..45a7b8dd7 100644 --- a/app/controllers/posts_controller.rb +++ b/app/controllers/posts_controller.rb @@ -46,8 +46,8 @@ class PostsController < ApplicationController if @post.errors.any? @error_message = @post.errors.full_messages.join("; ") render :template => "static/error", :status => 500 - elsif params[:tags].present? - redirect_to post_path(@post, :tags => params[:tags]) + elsif params[:tags].present? || params[:pool_id].present? + redirect_to post_path(@post, :tags => params[:tags], :pool_id => params[:pool_id]) else redirect_to post_path(@post) end