Commit d2d87721 authored by Clément Damiens's avatar Clément Damiens

news modularisation
parent 560a58a3
...@@ -40,6 +40,7 @@ class Co2Module extends CWebModule { ...@@ -40,6 +40,7 @@ class Co2Module extends CWebModule {
'citizenToolKit.models.*', 'citizenToolKit.models.*',
'ressources.models.*', 'ressources.models.*',
'classifieds.models.*', 'classifieds.models.*',
'news.models.*',
'places.models.*', 'places.models.*',
$this->id.'.models.*', $this->id.'.models.*',
$this->id.'.components.*', $this->id.'.components.*',
......
...@@ -189,7 +189,7 @@ class CommunecterController extends Controller ...@@ -189,7 +189,7 @@ class CommunecterController extends Controller
'getlevel' => array("href" => "/ph/co2/city/getlevel"), 'getlevel' => array("href" => "/ph/co2/city/getlevel"),
), ),
"news"=> array( "news"=> array(
"index" => array( "href" => "/ph/co2/news/index", "public" => true,'title' => "Fil d'actualités - N.E.W.S", "subTitle"=>"Nord.Est.West.Sud","pageTitle"=>"Fil d'actualités - N.E.W.S"), "index" => array( "href" => "/ph/news/index", "public" => true,'title' => "Fil d'actualités - N.E.W.S", "subTitle"=>"Nord.Est.West.Sud","pageTitle"=>"Fil d'actualités - N.E.W.S"),
"latest" => array( "href" => "/ph/co2/news/latest"), "latest" => array( "href" => "/ph/co2/news/latest"),
"save" => array( "href" => "/ph/co2/news/save"), "save" => array( "href" => "/ph/co2/news/save"),
"detail" => array( "href" => "/ph/co2/news/detail"), "detail" => array( "href" => "/ph/co2/news/detail"),
...@@ -197,8 +197,8 @@ class CommunecterController extends Controller ...@@ -197,8 +197,8 @@ class CommunecterController extends Controller
"updatefield" => array( "href" => "/ph/co2/news/updatefield"), "updatefield" => array( "href" => "/ph/co2/news/updatefield"),
"update" => array( "href" => "/ph/co2/news/update"), "update" => array( "href" => "/ph/co2/news/update"),
"extractprocess" => array( "href" => "/ph/co2/news/extractprocess"), "extractprocess" => array( "href" => "/ph/co2/news/extractprocess"),
"moderate" => array( "href" => "/ph/co2/news/moderate"), "moderate" => array( "href" => "/ph/news/moderate"),
"share" => array("href" => "/ph/co2/news/share"), "share" => array("href" => "/ph/news/share"),
), ),
"search"=> array( "search"=> array(
"getmemberautocomplete" => array("href" => "/ph/co2/search/getmemberautocomplete"), "getmemberautocomplete" => array("href" => "/ph/co2/search/getmemberautocomplete"),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment