Commit 7c3d2782 authored by Vinícius Fragoso's avatar Vinícius Fragoso

Improving documentation on file uploads

Adding information about setting multipart/form-data on forms in order
to use file uploads.
parent 4f8a6724
...@@ -69,6 +69,12 @@ When working with JavaScript MVC frameworks like Backbone.js, you will need to g ...@@ -69,6 +69,12 @@ When working with JavaScript MVC frameworks like Backbone.js, you will need to g
$size = Input::file('picture.size'); $size = Input::file('picture.size');
> **Note:** In order to use file uploads, you must use `Form::open_for_files()` or manually enable `multipart/form-data`.
*Further Reading:*
- *[Openning Forms](/docs/views/forms#opening-a-form)*
<a name="old-input"></a> <a name="old-input"></a>
## Old Input ## Old Input
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment