Skip to content

Commit

Permalink
Merge pull request #1571 from MFlyer/issue#1563_Missing_pool_usage_urls
Browse files Browse the repository at this point in the history
Fixes #1563 restoring lost updates
  • Loading branch information
schakrava authored Dec 12, 2016
2 parents 4c32281 + 5f6d7c7 commit 4993ba1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/rockstor/storageadmin/urls/pools.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,15 @@

from django.conf.urls import patterns, url
from storageadmin.views import (PoolListView, PoolDetailView, PoolScrubView,
PoolBalanceView, PoolShareListView)
PoolBalanceView, get_usage_bound, PoolShareListView)
from django.conf import settings

pool_regex = settings.POOL_REGEX

urlpatterns = patterns(
'',
url(r'^$', PoolListView.as_view(), name='pool-view'),
url(r'^/usage_bound$', get_usage_bound),
url(r'^/(?P<pname>%s)$' % pool_regex, PoolDetailView.as_view(),),
url(r'^/(?P<pname>%s)/shares$' % pool_regex, PoolShareListView.as_view(),),
url(r'^/(?P<pname>%s)/balance$' % pool_regex, PoolBalanceView.as_view(),),
Expand Down

0 comments on commit 4993ba1

Please sign in to comment.