summaryrefslogtreecommitdiff
path: root/app/Controllers/indexController.php
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <github@ainw.org> 2014-03-14 06:15:52 -0400
committerGravatar Alexis Degrugillier <github@ainw.org> 2014-03-14 06:15:52 -0400
commitf31747ee7bdaebf02e7e58d51c27102e0c7c9ef1 (patch)
tree74d9338a7ce4f067c6ee46aa3bdce012db7d1bed /app/Controllers/indexController.php
parent8320154f6c4896567a679d7905fbc6cc8e30ac5a (diff)
Refresh page after getting new articles.
Change the URL to the refresh link. Before it was redirecting to the home page. Now it is redirecting to the same page, which make more sense. See #457
Diffstat (limited to 'app/Controllers/indexController.php')
-rwxr-xr-xapp/Controllers/indexController.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/Controllers/indexController.php b/app/Controllers/indexController.php
index 73f454715..9da1e5022 100755
--- a/app/Controllers/indexController.php
+++ b/app/Controllers/indexController.php
@@ -25,16 +25,14 @@ class FreshRSS_index_Controller extends Minz_ActionController {
}
}
- // construction of RSS url of this feed
$params = Minz_Request::params ();
- $params['output'] = 'rss';
if (isset ($params['search'])) {
$params['search'] = urlencode ($params['search']);
}
if (!Minz_Configuration::allowAnonymous()) {
$params['token'] = $token;
}
- $this->view->rss_url = array (
+ $this->view->url = array (
'c' => 'index',
'a' => 'index',
'params' => $params