Skip to content

Commit

Permalink
Update languageBasePath to match new Laravel 5 structure. Update pack…
Browse files Browse the repository at this point in the history
…age config publishing.
  • Loading branch information
PhiloNL committed Feb 2, 2015
1 parent 752e637 commit 74e80dc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Philo/Translate/TranslateManager.php
Expand Up @@ -9,7 +9,7 @@ class TranslateManager {
protected $language;
protected $languages = array();
protected $loaded = array();
protected $languagesBasePath = 'app/lang/';
protected $languagesBasePath = 'resources/lang/';
protected $namespace;

public function __construct()
Expand Down
4 changes: 3 additions & 1 deletion src/Philo/Translate/TranslateServiceProvider.php
Expand Up @@ -18,7 +18,9 @@ class TranslateServiceProvider extends ServiceProvider {
*/
public function boot()
{
$this->package('philo/translate');
$this->publishes([
__DIR__.'/config.php' => config_path('translate.php'),
]);

$this->app->bind('Finder', function($app)
{
Expand Down
File renamed without changes.
Empty file removed src/config/.gitkeep
Empty file.

0 comments on commit 74e80dc

Please sign in to comment.