Sha256: 0b816bf32295eb2afc5e7ffda43d834b8cf7e08b53038b17a1ba1d813887781a
Contents?: true
Size: 566 Bytes
Versions: 30
Compression:
Stored size: 566 Bytes
Contents
var Auth = angular.module("Auth", ["User","Group"]); Auth.config(["$routeProvider", function($routeProvider){ $routeProvider. when("/auth", { templateUrl: template("auth/index") }); }]); Auth.controller("AuthMenuController", ["$scope", "gettext", function($scope, gettext){ this.menu_items = [ {title: gettext("Users"), url: "/auth/users", permission: {action: "read", model: "Faalis::User"}}, {title: gettext("Groups"), url: "/auth/groups", permission: {action: "read", model: "Faalis::Group"}} ]; }]);
Version data entries
30 entries across 30 versions & 1 rubygems