Skip to content

Commit

Permalink
[webui] Use correct helper function to redirect back
Browse files Browse the repository at this point in the history
  • Loading branch information
hennevogel authored and coolo committed Nov 28, 2012
1 parent 5140842 commit 10b1bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webui/app/controllers/package_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def show
end
elsif @revision_parameter
flash[:error] = "No such revision: #{@revision_parameter}"
redirect_to :back
redirect_back_or_to :controller => "package", :action => "show", :project => @project, :package => @package and return
end


Expand Down

0 comments on commit 10b1bba

Please sign in to comment.