mirror of
https://github.com/neocities/neocities.git
synced 2025-08-05 01:01:30 +02:00
remove monkeypatch that was causing file upload issues
This commit is contained in:
parent
82c473351f
commit
3f7f90c9e7
6 changed files with 9 additions and 13 deletions
|
@ -1,5 +1,5 @@
|
|||
get '/browse/?' do
|
||||
params.delete 'tag' if params[:tag].nil? || params[:tag].empty?
|
||||
params.delete 'tag' if params[:tag].nil? || params[:tag].strip.empty?
|
||||
site_dataset = browse_sites_dataset
|
||||
site_dataset = site_dataset.paginate @current_page, Site::BROWSE_PAGINATION_LENGTH
|
||||
@page_count = site_dataset.page_count || 1
|
||||
|
@ -65,4 +65,4 @@ def browse_sites_dataset
|
|||
end
|
||||
|
||||
site_dataset
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue