Skip to content

Commit

Permalink
Merge pull request #1591 from openhealthcare/remove-account-detail-te…
Browse files Browse the repository at this point in the history
…mplate-view

Remove the AccountDetailTemplateView
  • Loading branch information
fredkingham committed Oct 4, 2018
2 parents 03bafe0 + 4ba8982 commit f869cb0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion opal/static/js/opal/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
})
.when('/account', {
controller: 'AccountCtrl',
templateUrl: '/accounts/templates/account_detail.html'
templateUrl: '/accounts/account_detail.html'
})
.otherwise({redirectTo: '/'});

Expand Down
3 changes: 0 additions & 3 deletions opal/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@
'password_change_form': ChangePasswordForm},
name='change-password'),

url(r'^accounts/templates/account_detail.html',
views.AccountDetailTemplateView.as_view()),

url(r'^accounts/banned', views.BannedView.as_view(), name='banned'),

url(r'^admin/', include(admin.site.urls)),
Expand Down
4 changes: 0 additions & 4 deletions opal/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,10 +215,6 @@ def get_template_names(self):
return [template_name]


class AccountDetailTemplateView(TemplateView):
template_name = 'accounts/account_detail.html'


class BannedView(TemplateView):
template_name = 'accounts/banned.html'

Expand Down

0 comments on commit f869cb0

Please sign in to comment.