serverfireteam / blog

A nice blog system with laravel 5 and laravelpanel
MIT License
52 stars 32 forks source link

Views Issue #24

Open manshu opened 8 years ago

manshu commented 8 years ago

I fixed this issue last time, and looks like when i pull the package into my server, it's still showing me the old package. Can you change ?

public function boot()
    {

        $this->loadViewsFrom(base_path('resources/views/blog'), 'blog');
        $this->publishes([
            __DIR__.'/../../views' => base_path('resources/views/blog'),
        ]);
        include __DIR__."/../../routes.php";
    }
AlirezaAlgo commented 8 years ago

@manshu please send a pull request

manshu commented 8 years ago
public function boot()
    {
        $this->loadViewsFrom(base_path('resources/views/blog'), 'blog');
        $this->publishes([
            __DIR__.'/../../views' => base_path('resources/views/blog'),
        ]);
        include __DIR__."/../../routes.php";
    }

It shows on the repo, but when i pull from composer, it doesn't work.

manshu commented 8 years ago

It's still not fixed, on my server im still getting the old "loadViewsFrom" function.