mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 17:52:39 +02:00
plug a missing site leak
This commit is contained in:
parent
1b3d7f7933
commit
aefbc1ad30
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ end
|
|||
|
||||
get '/surf/:username' do |username|
|
||||
@site = Site.select(:id, :username, :title, :domain, :views, :stripe_customer_id).where(username: username).first
|
||||
not_found if @site.nil?
|
||||
@title = @site.title
|
||||
not_found if @site.nil?
|
||||
erb :'surf', layout: false
|
||||
|
|
Loading…
Add table
Reference in a new issue