Framework updates
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -165,8 +165,8 @@ class Dispatcher
|
||||
// For GET requests: redirect to the proper route
|
||||
$params = array_merge($extra_params, $request->query->all());
|
||||
|
||||
// Generate proper URL using Rsx::Route
|
||||
$proper_url = Rsx::Route($controller_name, $action_name, $params);
|
||||
// Generate proper URL using Rsx::Route (signature: "Controller::method", $params)
|
||||
$proper_url = Rsx::Route($controller_name . '::' . $action_name, $params);
|
||||
|
||||
console_debug('DISPATCH', 'Redirecting GET to proper route:', $proper_url);
|
||||
|
||||
@@ -209,8 +209,9 @@ class Dispatcher
|
||||
|
||||
if ($route_pattern) {
|
||||
// Generate proper URL for the SPA action
|
||||
// Note: SPA actions use class name only (action_name is ignored for SPA routes)
|
||||
$params = array_merge($extra_params, $request->query->all());
|
||||
$proper_url = Rsx::Route($controller_name, $action_name, $params);
|
||||
$proper_url = Rsx::Route($controller_name, $params);
|
||||
|
||||
console_debug('DISPATCH', 'Redirecting to SPA action route:', $proper_url);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user