Permalink
Browse files

Obsessed with the readme

  • Loading branch information...
1 parent cf2cdf5 commit 51098cd6b0e13772335a56907ddb4b1b15f36019 @lukemorton committed Jan 2, 2011
Showing with 10 additions and 7 deletions.
  1. +9 −6 README.markdown
  2. +1 −1 classes/prophet.php
View
15 README.markdown
@@ -5,19 +5,21 @@ What can Prophet do for you?
* Automatic view loading (Kostache, Kohana Views, etc.)
* Error handling 404, 500 (inspired by Errorist)
-## Current Version
+## Current Version: v0.1.1
The current version is v0.1.1. This release should be considered
fairly stable but not stable enough for a v1 release just yet.
+Take that how you want :)
Download or clone the v0.1.1 tag of this repo into your modules
-folder.
+folder to use with the Kohana 3.1.x series.
If you require Kohana 3.0.x compatibility you will need to
-download the alternative tag *v0.1-compat-3.0.x*. That is the
+download the alternative tag **v0.1-compat-3.0.x**. That is the
first and last v3.0.x compatible release.
## Requirements
+
* PHP 5.2 + (5.3 recommended),
* Kohana 3.0.x or Kohana 3.1.x, only updates will be provided
for the 3.1.x branch,
@@ -38,13 +40,14 @@ this example:
}
Now blog/index will automatically render the view found in
-"APPPATH/views/blog/index.php" without anything else being
+"views/blog/index.php" without anything else being
specified.
### Using Kostache
In order to use Kostache instead of the default Kohana views
-simply define the class in your controller:
+simply define the class in your controller or in the
+controller.php file like so:
class Controller extends Prophet_Controller {
@@ -69,7 +72,7 @@ inclined. Take an example:
/**
* @var
- * @see Controller::$viewless
+ * @see Prophet_Controller::$viewless
*/
public $viewless = array('create');
View
2 classes/prophet.php
@@ -16,7 +16,7 @@ public static function exception_handler(Exception $e)
{
$request = array(
// Get status from current request
- 'action' => Request::$current->status,
+ 'action' => Request::$current->status(),
// If exception has a message this can be passed on
'message' => rawurlencode($e->getMessage()),

0 comments on commit 51098cd

Please sign in to comment.