mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-15 23:57:48 +00:00
[Rails 5] change #process method call args for upgraded rails
Copied from spree a5e14e3313
This commit is contained in:
@@ -47,9 +47,9 @@ module ControllerRequestsHelper
|
||||
|
||||
def process_action_with_route(action, params = {}, session = nil, flash = nil, method = "GET")
|
||||
process(action,
|
||||
method,
|
||||
params.reverse_merge!(use_route: :main_app),
|
||||
session,
|
||||
flash)
|
||||
method: method,
|
||||
params: params.reverse_merge!(use_route: :main_app),
|
||||
session: session,
|
||||
flash: flash)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user