mirror of
https://github.com/neocities/neocities.git
synced 2025-07-20 17:46:05 +02:00
further improvements to site inspector
This commit is contained in:
parent
c6077724be
commit
0c81f212b6
2 changed files with 13 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue