Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
butschster committed May 25, 2016
1 parent 4218ef7 commit 913aa8a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 21 deletions.
20 changes: 0 additions & 20 deletions src/Providers/PluginServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,24 +49,4 @@ public function register()
PluginDeactivateCommand::class,
]);
}

public function boot()
{
\Event::listen('config.loaded', function () {
$this->registerNavigation();
}, 999);
}

protected function registerNavigation()
{
\Navigation::setFromArray([
[
'id' => 'plugins',
'title' => 'plugins::core.title',
'icon' => 'puzzle-piece',
'url' => route('backend.plugins.list'),
'priority' => 9999999,
],
]);
}
}
2 changes: 1 addition & 1 deletion src/resources/views/pluginItem.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="alert alert-danger alert-dark padding-xs">
<%= i18n.t('plugins.core.messages.not_installable', {
required_version: required_cms_version,
current_version: '{!! CMS::VERSION !!}'
current_version: '{!! CMS::getVersion() !!}'
}) %>
</div>
<% } %>
Expand Down

0 comments on commit 913aa8a

Please sign in to comment.