mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
moved UI stuff into the settings area, moved authWithSession to the Auth controller
This commit is contained in:
@@ -31,6 +31,7 @@ window.habitrpg = angular.module('habitrpg',
|
||||
.when('/options/groups/guilds', '/options/groups/guilds/public')
|
||||
.when('/options/inventory', '/options/inventory/inventory')
|
||||
.when('/options/inventory/stable', '/options/inventory/stable/pets')
|
||||
.when('/options/settings', '/options/settings/settings')
|
||||
|
||||
// redirect states that don't match
|
||||
.otherwise("/tasks");
|
||||
@@ -68,10 +69,6 @@ window.habitrpg = angular.module('habitrpg',
|
||||
url: "/profile",
|
||||
templateUrl: "partials/options.profile.profile.html"
|
||||
})
|
||||
.state('options.profile.data', {
|
||||
url: "/profile/data",
|
||||
templateUrl: "partials/options.profile.data.html"
|
||||
})
|
||||
|
||||
// Options > Groups
|
||||
.state('options.social', {
|
||||
@@ -165,6 +162,18 @@ window.habitrpg = angular.module('habitrpg',
|
||||
controller: 'SettingsCtrl',
|
||||
templateUrl: "partials/options.settings.html"
|
||||
})
|
||||
.state('options.settings.settings', {
|
||||
url: "/settings",
|
||||
templateUrl: "partials/options.settings.settings.html"
|
||||
})
|
||||
.state('options.settings.api', {
|
||||
url: "/api",
|
||||
templateUrl: "partials/options.settings.api.html"
|
||||
})
|
||||
.state('options.settings.export', {
|
||||
url: "/export",
|
||||
templateUrl: "partials/options.settings.export.html"
|
||||
})
|
||||
|
||||
// Options > Settings
|
||||
.state('options.admin', {
|
||||
|
||||
Reference in New Issue
Block a user