Skip to content

Commit

Permalink
Merge branch 'release/0.6.16.6'
Browse files Browse the repository at this point in the history
  • Loading branch information
kalashnikovisme committed May 12, 2016
2 parents 9aa5524 + 8e833d9 commit c4e103b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/web/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Web::ApplicationController < ApplicationController
Rails.logger.warn "BACKTRACE: #{exception.backtrace.first(30).join("\n")}"
redirect_rule = RedirectRule.find_by_url(request.env['PATH_INFO'])
if redirect_rule.present?
redirect_to redirect_rule.redirect_to, status: redirect_rule.status
redirect_to redirect_rule.redirect_to
else
render '/web/pages/shared/_server_error', status: 500
end
Expand Down

0 comments on commit c4e103b

Please sign in to comment.