Skip to content
Browse files

removing the demo controller (will need to add kohana docs) (fixes #41)

  • Loading branch information...
1 parent 8e9304e commit 8c1b2b8cec297fd5fbae97f8051f110262162f90 @Zeelot committed Feb 2, 2011
Showing with 0 additions and 30 deletions.
  1. +0 −30 classes/controller/yform/demo.php
View
30 classes/controller/yform/demo.php
@@ -1,30 +0,0 @@
-<?php defined('SYSPATH') OR die('No direct access allowed.');
-
-/**
- * @package YurikoCMS
- * @author Lorenzo Pisani - Zeelot
- * @copyright (c) 2008-2010 Lorenzo Pisani
- * @license http://yurikocms.com/license
- */
-
-class Controller_YForm_Demo extends Controller_Yuriko_Template {
-
- public function action_index()
- {
- $view = $this->request->param('view');
-
- $this->template->content = View::factory('yform/demo/'.$view)
- ->bind('values', $_POST)
- ->bind('errors', $errors);
-
- $this->title = 'YForm Demo!';
-
- $errors = array
- (
- 'name' => 'This Field is Required!',
- );
-
- $this->request->response = $this->template;
- }
-
-}

0 comments on commit 8c1b2b8

Please sign in to comment.
Something went wrong with that request. Please try again.