| Age | Commit message (Collapse) | Author |
|
solution, but it works for now.
|
|
_put(), _delete().
This should make it more obvious that these are not your typical
routes, simplifies overall routing by removing a rule and removes the
possibility of accidentally leaking information if we route to one of
them by accident.
|
|
controllers. Any controller that wants to act RESTful can extend this
class and implement get/post/put/delete.
Tweak default routes to disallow direct access to the REST controller
and direct access to any REST methods.
|
|
Item_Controller to accept it.
|
|
Revert $_POST back to $this->input->post() because that supports default values.
|
|
Convert $this->input->post to $_POST
|
|
Adjust/simplify photo::create
Add image uploading to the scaffolding
|
|
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.
|
|
|