Merge branch 'master' into 5.0

This commit is contained in:
Adam Engebretson committed 2015-02-05 11:11:09 -06:00
commit f229d1e629
1 file changed
+15 -4
+15 -4
View File
@@ -33,14 +33,25 @@ Next, update Composer from the Terminal:
composer update
Finally, add your new provider to the `providers` array of `config/app.php`:
Next, add your new provider to the `providers` array of `config/app.php`:
```php
'providers' => [
// ...
'Collective\Html\HtmlServiceProvider',
// ...
];
],
```
Finally, add two class aliases to the `aliases` array of `config/app.php`:
```php
'aliases' => [
// ...
'Form' => 'Collective\Html\FormFacade',
'Html' => 'Collective\Html\HtmlFacade',
// ...
],
```
<a name="opening-a-form"></a>
@@ -48,9 +59,9 @@ Finally, add your new provider to the `providers` array of `config/app.php`:
#### Opening A Form
{{ Form::open(array('url' => 'foo/bar')) }}
{!! Form::open(array('url' => 'foo/bar')) !!}
//
{{ Form::close() }}
{!! Form::close() !!}
By default, a `POST` method will be assumed; however, you are free to specify another method: