Footer for frontend and report errors link.
This commit is contained in:
parent
124f330895
commit
fa2a047370
10 changed files with 128 additions and 14 deletions
admin/js/views
|
@ -4,7 +4,7 @@ angular.module('ffffngAdmin')
|
|||
.directive('faVersion', function ($http, $state, notification) {
|
||||
var link = function (scope) {
|
||||
scope.version = '?';
|
||||
$http.get('/internal/api/version')
|
||||
$http.get('/api/version')
|
||||
.then(function (result) { scope.version = result.data.version; })
|
||||
.catch(function (e) {
|
||||
notification.log('Error: ' + e.data, { addnCls: 'humane-flatty-error' });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue