Import testing bundle to laravel/tests directory.
This commit is contained in:
17
laravel/tests/application/controllers/restful.php
Normal file
17
laravel/tests/application/controllers/restful.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
class Restful_Controller extends Controller {
|
||||
|
||||
public $restful = true;
|
||||
|
||||
public function get_index()
|
||||
{
|
||||
return __FUNCTION__;
|
||||
}
|
||||
|
||||
public function post_index()
|
||||
{
|
||||
return __FUNCTION__;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user