Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class PostsController extends Appcontroller {
- var $name = 'Posts';
- function index() {
- $this->set('posts', $this->Post->find('all'));
- }
- function hello_world() {
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement