1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib/action_controller/metal/basic_implicit_render.rb
Aaron Patterson 63d96adb68
Remove args from default_render
It's always called with 0 params, so just remove the parameter
2019-01-17 14:33:14 -08:00

13 lines
255 B
Ruby

# frozen_string_literal: true
module ActionController
module BasicImplicitRender # :nodoc:
def send_action(method, *args)
super.tap { default_render unless performed? }
end
def default_render
head :no_content
end
end
end