Skip to content

Commit

Permalink
fixed template menu issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ken authored and ken committed Jan 17, 2015
1 parent 7bd8ab0 commit a2e30f3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion public/templates/default/js/controllers.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ ulboraCmsControllers.controller('MainCtrl', ['$scope', 'checkCreds', '$location'

ulboraCmsControllers.controller('ArchiveCtrl', ['$scope', 'checkCreds', '$location', '$http', 'getToken', 'Content', '$sce', '$routeParams',
function ArchiveCtrl($scope, checkCreds, $location, $http, getToken, Content, $sce, $routeParams) {
$scope.useUlboraSite = false;
$scope.brandColor = "color: white;";
if (checkCreds() === true) {
$scope.loggedIn = true;
Expand Down Expand Up @@ -226,7 +227,7 @@ ulboraCmsControllers.controller('ArchiveCtrl', ['$scope', 'checkCreds', '$locati

ulboraCmsControllers.controller('ArticleCtrl', ['$scope', 'checkCreds', '$location', '$http', 'getToken', '$routeParams', 'Article', 'Content', '$sce',
function ArticleCtrl($scope, checkCreds, $location, $http, getToken, $routeParams, Article, Content, $sce) {

$scope.useUlboraSite = false;
if (checkCreds() === true) {
$scope.loggedIn = true;
} else {
Expand Down Expand Up @@ -349,6 +350,7 @@ ulboraCmsControllers.controller('ArticleCtrl', ['$scope', 'checkCreds', '$locati

ulboraCmsControllers.controller('LoginScreenCtrl', ['$scope', 'checkCreds', 'setCreds', '$location', '$http', 'getToken', 'Login', 'Content',
function LoginScreenCtrl($scope, checkCreds, setCreds, $location, $http, getToken, Login, Content) {
$scope.useUlboraSite = false;
if (checkCreds() === true) {
$scope.loggedIn = true;
} else {
Expand Down Expand Up @@ -417,6 +419,7 @@ ulboraCmsControllers.controller('LoginScreenCtrl', ['$scope', 'checkCreds', 'set

ulboraCmsControllers.controller('LoginCtrl', ['$scope', 'checkCreds', 'setCreds', '$location', '$http', 'getToken', 'Login', 'Content',
function LoginCtrl($scope, checkCreds, setCreds, $location, $http, getToken, Login, Content) {
$scope.useUlboraSite = false;
if (checkCreds() === true) {
$scope.loggedIn = true;
} else {
Expand Down Expand Up @@ -485,6 +488,7 @@ ulboraCmsControllers.controller('LogOutCtrl', ['$scope', 'deleteCreds', '$locati

ulboraCmsControllers.controller('RegistrationNewCtrl', ['$scope', 'Challenge', '$location', 'checkCreds',
function RegistrationNewCtrl($scope, Challenge, $location, checkCreds) {
$scope.useUlboraSite = false;
if (checkCreds() === true) {
$scope.loggedIn = true;
} else {
Expand Down Expand Up @@ -553,6 +557,7 @@ ulboraCmsControllers.controller('RegistrationCtrl', ['$scope', 'Registration', '

ulboraCmsControllers.controller('PasswordResetCtrl', ['$scope', 'Challenge', 'Password', '$location', 'checkCreds',
function PasswordResetCtrl($scope, Challenge, Password, $location, checkCreds) {
$scope.useUlboraSite = false;
if (checkCreds() === true) {
$scope.loggedIn = true;
} else {
Expand Down

0 comments on commit a2e30f3

Please sign in to comment.