diff options
| author | 2022-03-22 23:09:50 +0100 | |
|---|---|---|
| committer | 2022-03-22 23:09:50 +0100 | |
| commit | 7d00ad8ed75cae5dafd4ac1f2cc6e15e94333628 (patch) | |
| tree | ea523dba448e8d1760e50e166bdc0a3881609120 /app/Controllers/indexController.php | |
| parent | eabe95e28cccb921d4874ae7210bb2bf38b68e4d (diff) | |
Improve: manage feed in view within a slider (#4226)
* it works
* small improvements
* Update slider.js
* fixed JS syntax
* slider.js included in main.js
* fix syntax
* delete including of slider.js
* Update extra.js
Diffstat (limited to 'app/Controllers/indexController.php')
| -rwxr-xr-x | app/Controllers/indexController.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/Controllers/indexController.php b/app/Controllers/indexController.php index 4f2f0d451..34770fffb 100755 --- a/app/Controllers/indexController.php +++ b/app/Controllers/indexController.php @@ -26,6 +26,14 @@ class FreshRSS_index_Controller extends FreshRSS_ActionController { return; } + $id = Minz_Request::param('id'); + if ($id) { + $view = Minz_Request::param('a'); + $url_redirect = array('c' => 'subscription', 'a' => 'feed', 'params' => array('id' => $id, 'from' => $view)); + Minz_Request::forward($url_redirect, true); + return; + } + try { $this->updateContext(); } catch (FreshRSS_Context_Exception $e) { |
