$this->publishes([__DIR__ . '/database/migrations/' => database_path('migrations')], 'migrations');
// publish translation files
- //$this->publishes([__DIR__ . '/resources/lang' => resource_path('lang/vendor/backpack')], 'lang');
+ $this->publishes([__DIR__ . '/resources/lang' => resource_path('lang/vendor/cubist')], 'lang');
}
/**
*/
public function register()
{
- $this->app->bind('settings', function ($app) {
- return new Settings($app);
+ $this->app->bind('templates', function ($app) {
+ return new Template($app);
});
// register their aliases
--- /dev/null
+<?php
+
+return [
+ /*
+ |--------------------------------------------------------------------------
+ | Templates Language Lines
+ |--------------------------------------------------------------------------
+ |
+ | The following language lines are used for Cubist backpack
+ |
+ */
+ 'name' => 'Name',
+ 'value' => 'Value',
+ 'description' => 'Description',
+ 'template_singular' => 'template',
+ 'template_plural' => 'templates',
+
+];