Commit 177bbe91 by Bence Dányi

firewall_gui: hosts route added to angular module

parent f5a855f1
...@@ -3,6 +3,9 @@ var module = angular.module('firewall', []).config( ...@@ -3,6 +3,9 @@ var module = angular.module('firewall', []).config(
$routeProvider.when('/rules/', { $routeProvider.when('/rules/', {
templateUrl: '/static/partials/rule-list.html', templateUrl: '/static/partials/rule-list.html',
controller: RuleListCtrl controller: RuleListCtrl
}).when('/hosts/', {
templateUrl: '/static/partials/host-list.html',
controller: HostListCtrl
}). }).
otherwise({ otherwise({
redirectTo: '/rules/' redirectTo: '/rules/'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment