diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-11-09 19:20:23 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-11-09 19:20:23 +0000 |
commit | 1b490c5fe6ce6ced7b02bbdf8c939a991f0378af (patch) | |
tree | d06cda6e05d7121f6ec08154115c15b148436d44 /core/controllers/welcome.php | |
parent | 065bbb2120ce0aaee96a3886bd06c90ca26da9bd (diff) |
Make Gallery3 more RESTful.
Create Item_Controller as a common superclass for Album_Controller and
Photo_Controller. Change routes to route requests to Item_Controller
for dispatching, which in turn will generate get/post/put/delete
requests to the controlller so that each controller has a RESTful
surface.
Change in_place editing to take advantage of this.
Diffstat (limited to 'core/controllers/welcome.php')
-rw-r--r-- | core/controllers/welcome.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/controllers/welcome.php b/core/controllers/welcome.php index c05cba68..786d7bcc 100644 --- a/core/controllers/welcome.php +++ b/core/controllers/welcome.php @@ -119,6 +119,7 @@ class Welcome_Controller extends Template_Controller { public function profiler() { Session::instance()->set("use_profiler", $this->input->get("use_profiler", false)); + $this->auto_render = false; url::redirect("welcome"); } |