mirror of
https://github.com/neocities/neocities.git
synced 2025-05-28 13:51:07 +02:00
a start on improving reporting
This commit is contained in:
parent
bb44965c8e
commit
a7ee94b0c7
5 changed files with 61 additions and 14 deletions
|
@ -5,6 +5,12 @@ get '/admin' do
|
|||
erb :'admin'
|
||||
end
|
||||
|
||||
get '/admin/reports' do
|
||||
require_admin
|
||||
@reports = Report.order(:created_at.desc).all
|
||||
erb :'admin/reports'
|
||||
end
|
||||
|
||||
get '/admin/email' do
|
||||
require_admin
|
||||
erb :'admin/email'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue