diff options
| author | 2013-04-13 15:27:36 +0200 | |
|---|---|---|
| committer | 2013-04-13 15:27:36 +0200 | |
| commit | 9b9543109e36a5409fe71eb084cfac680dfc7cbd (patch) | |
| tree | 0876746883cd90d5f1e9a63e208342699e427690 /app/controllers/javascriptController.php | |
| parent | a4beb7b772fdc3c8c894b93611bfb030c9456f07 (diff) | |
Fix issue #39 : actualisation de tous les flux grâce à Ajax
Diffstat (limited to 'app/controllers/javascriptController.php')
| -rwxr-xr-x | app/controllers/javascriptController.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/app/controllers/javascriptController.php b/app/controllers/javascriptController.php index 8060f560c..071cf65a4 100755 --- a/app/controllers/javascriptController.php +++ b/app/controllers/javascriptController.php @@ -5,8 +5,11 @@ class javascriptController extends ActionController { $this->view->_useLayout (false); header('Content-type: text/javascript'); } - - public function mainAction () { - + + public function mainAction () {} + + public function actualizeAction () { + $feedDAO = new FeedDAO (); + $this->view->feeds = $feedDAO->listFeeds (); } } |
