We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ebba66 commit 57804f6Copy full SHA for 57804f6
app/controllers/forest_liana/router.rb
@@ -37,6 +37,8 @@ def call(env)
37
end
38
39
40
+ params["action"] = action
41
+ params["controller"] = "#{env["SCRIPT_NAME"]}/#{collection_name}".delete_prefix("/")
42
controller.action(action.to_sym).call(env)
43
rescue NoMethodError => exception
44
FOREST_REPORTER.report exception
0 commit comments