mirror of
https://github.com/neocities/neocities.git
synced 2025-08-05 17:18:02 +02:00
Merge violasong changes
This commit is contained in:
commit
58131f4964
7 changed files with 59 additions and 26 deletions
2
app.rb
2
app.rb
|
@ -471,7 +471,7 @@ get '/surf/?' do
|
|||
end
|
||||
|
||||
get '/surf/:username' do |username|
|
||||
@site = Site.select(:id, :username, :title, :domain, :views).where(username: username).first
|
||||
@site = Site.select(:id, :username, :title, :domain, :views, :stripe_customer_id).where(username: username).first
|
||||
@title = @site.title
|
||||
not_found if @site.nil?
|
||||
erb :'surf', layout: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue