This commit is contained in:
Kyle Drake 2013-07-14 23:35:52 -04:00
parent ce59bbac9b
commit 0d16d2c56a
2 changed files with 3 additions and 3 deletions

2
app.rb
View file

@ -37,7 +37,7 @@ get '/browse' do
@current_page = params[:current_page] || 1
@current_page = @current_page.to_i
site_dataset = Site.filter(is_banned: false).filter(site_changed: true).paginate(@current_page, 2) # 300
site_dataset = Site.filter(is_banned: false).filter(site_changed: true).paginate(@current_page, 300)
case params[:sort_by]
when 'hits'

View file

@ -26,11 +26,11 @@
<option value="oldest" <%= 'selected' if params[:sort_by] == 'oldest' %>>Oldest</option>
</select>
</div>
<!--
<div>
<input name="is_nsfw" type="checkbox" value="true" <%= 'checked' if params[:is_nsfw].to_s == 'true' %>> Show 18+ content
</div>
-->
<div style="margin-top: 10px">
<input class="btn-Action" type="submit" value="Update">
</div>