mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 09:42:36 +02:00
typo fix
This commit is contained in:
parent
e91208c2f2
commit
cc4cc6b5a6
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ get '/site/:username/?' do |username|
|
||||||
@current_page = 1 if @current_page == 0
|
@current_page = 1 if @current_page == 0
|
||||||
|
|
||||||
if params[:event_id]
|
if params[:event_id]
|
||||||
not_found unless params[:is_integer].is_integer?
|
not_found unless params[:event_id].is_integer?
|
||||||
event = Event.select(:id).where(id: params[:event_id]).first
|
event = Event.select(:id).where(id: params[:event_id]).first
|
||||||
not_found if event.nil?
|
not_found if event.nil?
|
||||||
events_dataset = Event.where(id: params[:event_id]).paginate(1, 1)
|
events_dataset = Event.where(id: params[:event_id]).paginate(1, 1)
|
||||||
|
|
Loading…
Add table
Reference in a new issue