further improvements to site inspector

This commit is contained in:
Kyle Drake 2015-12-29 22:48:46 -06:00
parent c6077724be
commit 0c81f212b6
2 changed files with 13 additions and 3 deletions

View file

@ -14,6 +14,7 @@ end
get '/admin/site/:username' do |username|
require_admin
@site = Site[username: username]
not_found if @site.nil?
@title = "Site Inspector - #{@site.username}"
erb :'admin/site'
end