mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
300 for now
This commit is contained in:
parent
f112146257
commit
e49cbac107
1 changed files with 1 additions and 1 deletions
2
app.rb
2
app.rb
|
@ -36,7 +36,7 @@ end
|
|||
get '/browse' do
|
||||
@current_page = params[:current_page] || 1
|
||||
@current_page = @current_page.to_i
|
||||
site_dataset = Site.order(:updated_at.desc, :hits.desc).filter(is_banned: false).filter(site_changed: true).paginate(@current_page, 400)
|
||||
site_dataset = Site.order(:updated_at.desc, :hits.desc).filter(is_banned: false).filter(site_changed: true).paginate(@current_page, 300)
|
||||
|
||||
site_dataset.filter! is_nsfw: (!params[:is_nsfw].nil? ? true : false)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue