Permalink
Browse files

move /trends feed names to configuration

  • Loading branch information...
1 parent cd56293 commit 93f5a1429cce041143821ce63fe1e527560c2417 @rmarianski committed May 27, 2011
Showing with 6 additions and 2 deletions.
  1. +4 −0 application/config/pps.php
  2. +2 −2 application/controllers/trends.php
@@ -8,3 +8,7 @@
// og data to use
$config['og_title'] = 'By the City / For the City - Urban Design Week 2011';
$config['fb_admins'] = '753810374';
+
+// /trends feed names - need to match feed name in database
+$config['feed_list'] = 'urban design week list';
+$config['feed_post'] = 'urban design week post';
@@ -18,8 +18,8 @@ public function index() {
$this->template->header->header_block = $this->themes->header_block();
$this->template->content = new View('trends');
- $feed_name_list = 'urban design week list';
- $feed_name_post = 'urban design week post';
+ $feed_name_list = Kohana::config('pps.feed_list');
+ $feed_name_post = Kohana::config('pps.feed_post');
$this->template->content->feed_list = $this->query_feed($feed_name_list);
$this->template->content->feed_post = $this->query_feed($feed_name_post);

0 comments on commit 93f5a14

Please sign in to comment.