ScriptsRoutesConfig.js revision 89092dc10fe08b037266c0b4efb94b221f6fffb3
286N/A/**
286N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
286N/A *
286N/A * Copyright (c) 2015 ForgeRock AS. All Rights Reserved
286N/A *
286N/A * The contents of this file are subject to the terms
286N/A * of the Common Development and Distribution License
286N/A * (the License). You may not use this file except in
286N/A * compliance with the License.
286N/A *
286N/A * You can obtain a copy of the License at
286N/A * http://forgerock.org/license/CDDLv1.0.html
286N/A * See the License for the specific language governing
286N/A * permission and limitations under the License.
286N/A *
286N/A * When distributing Covered Code, include this CDDL
286N/A * Header Notice in each file and include the License file
286N/A * at http://forgerock.org/license/CDDLv1.0.html
286N/A * If applicable, add the following below the CDDL Header,
286N/A * with the fields enclosed by brackets [] replaced by
286N/A * your own identifying information:
286N/A * "Portions Copyrighted [year] [name of copyright owner]"
286N/A */
286N/A
286N/A/*global define*/
286N/A
286N/Adefine("config/routes/ScriptsRoutesConfig", [], function () {
286N/A return {
286N/A "listScripts": {
286N/A view: "org/forgerock/openam/ui/editor/views/ScriptListView",
286N/A url: "list",
286N/A role: "ui-admin"
286N/A },
286N/A "editScript": {
286N/A view: "org/forgerock/openam/ui/editor/views/EditScriptView",
286N/A url: /^edit\/(.*?)(?:\/){0,1}$/,
286N/A defaults: [""],
286N/A role: "ui-admin",
286N/A pattern: "edit/?"
286N/A }
286N/A };
286N/A});