@@ -84,6 +84,8 @@ public function view()
8484 */
8585 public function roadmap (string $ filter = 'active ' )
8686 {
87+ $ this ->title (l ('roadmap ' ));
88+
8789 // Get the projects milestones and send them to the view.
8890 $ milestones = Milestone::select ()->where ('project_id ' , $ this ->project ->id );
8991
@@ -146,6 +148,8 @@ public function roadmap(string $filter = 'active')
146148 */
147149 public function viewMilestone ($ milestone_slug )
148150 {
151+ $ this ->title (l ('roadmap ' ));
152+
149153 // Get the milestone
150154 $ milestone = Milestone::select ()->where (array (
151155 array ('project_id ' , $ this ->project ->id ),
@@ -161,6 +165,8 @@ public function viewMilestone($milestone_slug)
161165 return $ this ->json ($ milestone ->__toArray ());
162166 }
163167
168+ $ this ->title ($ milestone ->name );
169+
164170 // And send it to the view
165171 View::set ('milestone ' , $ milestone );
166172
@@ -172,6 +178,8 @@ public function viewMilestone($milestone_slug)
172178 */
173179 public function changelog ()
174180 {
181+ $ this ->title (l ('changelog ' ));
182+
175183 // Atom feed
176184 $ this ->feeds [] = array (Request::requestUri () . ".atom " , l ('x_changelog_feed ' , $ this ->project ->name ));
177185
0 commit comments