Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

3.2/develop #38

Closed
wants to merge 1 commit into from

3 participants

@rjd22
Collaborator

The guide now defaults to the kohana module. You can switch submodules below to make browsing easier

Robert-Jan de Dreu The guide now defaults to the kohana module. You can switch submodule…
…s below to make browsing easier
52df722
@Kohana-Builds
Collaborator

Build Scheduled

@shadowhand shadowhand closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 9, 2012
  1. The guide now defaults to the kohana module. You can switch submodule…

    Robert-Jan de Dreu authored
    …s below to make browsing easier
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 3 deletions.
  1. +3 −3 classes/controller/userguide.php
View
6 classes/controller/userguide.php
@@ -114,10 +114,10 @@ public function action_docs()
// Trim trailing slash
$page = rtrim($page, '/');
- // If no module provided in the url, show the user guide index page, which lists the modules.
+ // If no module provided in the url, redirect the user to the kohana guide.
if ( ! $module)
{
- return $this->index();
+ $this->request->redirect(url::base().'guide/kohana');
}
// If this module's userguide pages are disabled, show the error page
@@ -160,7 +160,7 @@ public function action_docs()
Kodoc_Markdown::$show_toc = false;
// Attach this module's menu to the template
- $this->template->menu = Markdown($this->_get_all_menu_markdown());
+ $this->template->menu = Markdown($this->_get_all_menu_markdown()).View::factory('userguide/menu', array('modules' => $this->_modules()));
// Bind the breadcrumb
$this->template->bind('breadcrumb', $breadcrumb);
Something went wrong with that request. Please try again.