Skip to content

Commit

Permalink
[webui] fix redirect_to call
Browse files Browse the repository at this point in the history
  • Loading branch information
coolo committed Dec 8, 2013
1 parent e11009e commit fd10094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/app/controllers/webui/package_controller.rb
Expand Up @@ -559,7 +559,7 @@ def valid_file_name? name

def save_file
unless User.current.can_modify_package? @package
redirect :back, error: "You're not allowed to modify #{@package.name}"
redirect_to :back, error: "You're not allowed to modify #{@package.name}"
return
end

Expand Down

0 comments on commit fd10094

Please sign in to comment.