app/controllers/iugu/account_settings_controller.rb in iugusdk-1.0.0.alpha.5 vs app/controllers/iugu/account_settings_controller.rb in iugusdk-1.0.0.alpha.7
- old
+ new
@@ -5,10 +5,10 @@
def block_removing
begin
if params[:account_id]
if Account.find(params[:account_id]).destroying?
- render :file => "#{Rails.root}/public/422.html", :status => 550
+ render :file => "#{Rails.root}/public/422", :status => 550
end
end
rescue
raise ActionController::RoutingError.new('Not Found')
end