Skip to content

Commit

Permalink
Change Html package
Browse files Browse the repository at this point in the history
  • Loading branch information
bestmomo committed Feb 14, 2015
1 parent 325b8d4 commit e52f40d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/Services/Html/FormBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

use Illuminate\Html\FormBuilder as IlluminateFormbuilder;

class FormBuilder extends IlluminateFormbuilder {
class FormBuilder extends \Collective\Html\Formbuilder {

public function submit($value = null, $options = [])
{
Expand Down
2 changes: 1 addition & 1 deletion app/Services/Html/HtmlServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php namespace App\Services\Html;

class HtmlServiceProvider extends \Illuminate\Html\HtmlServiceProvider {
class HtmlServiceProvider extends \Collective\Html\HtmlServiceProvider {

/**
* Register the form builder instance.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "project",
"require": {
"laravel/framework": "5.0.*",
"illuminate/html": "5.0.*@dev"
"laravelcollective/html": "~5.0"
},
"require-dev": {
"phpunit/phpunit": "~4.0",
Expand Down
5 changes: 2 additions & 3 deletions config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,8 @@
'URL' => 'Illuminate\Support\Facades\URL',
'Validator' => 'Illuminate\Support\Facades\Validator',
'View' => 'Illuminate\Support\Facades\View',

'HTML' => 'Illuminate\Html\HtmlFacade',
'Form' => 'Illuminate\Html\FormFacade',
'Form' => 'Collective\Html\FormFacade',
'HTML' => 'Collective\Html\HtmlFacade',

],

Expand Down

0 comments on commit e52f40d

Please sign in to comment.