ekandreas / bladerunner

WordPress plugin for Laravel Blade templating DEPRECATED
http://bladerunner.elseif.se
12 stars 1 forks source link

Add option to use a filter to set path where blade templates are stored #26

Closed ogg1980 closed 8 years ago

ogg1980 commented 8 years ago

Usage examle:

add_filter('bladerunner/template/bladepath', function ($path) { return $path . '/views'; });

and then in your templates:

@include('layout.header')

instead of

@include('views.layout.header')

codecov-io commented 8 years ago

Current coverage is 6.45%

Merging #26 into master will increase coverage by +0.29% as of 7cb6f8a

@@            master    #26   diff @@
=====================================
  Files            8      8       
  Stmts          308    248    -60
  Branches         0      0       
  Methods         36     36       
=====================================
- Hit             19     16     -3
  Partial          0      0       
+ Missed         289    232    -57

Review entire Coverage Diff as of 7cb6f8a

Powered by Codecov. Updated on successful CI builds.

ekandreas commented 8 years ago

Great! Thanks!