mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
63d96adb68
It's always called with 0 params, so just remove the parameter
13 lines
255 B
Ruby
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
|