diff --git a/app.rb b/app.rb index bd290661..eb495777 100644 --- a/app.rb +++ b/app.rb @@ -309,7 +309,7 @@ get '/tags/suggestions/:name.json' do |name| Tag.suggestions(name).collect {|t| t.name}.to_json end -get '/browse' do +get '/browse/?' do @current_page = params[:current_page] @current_page = @current_page.to_i @current_page = 1 if @current_page == 0 diff --git a/views/browse.erb b/views/browse.erb index cb40122d..2e061614 100644 --- a/views/browse.erb +++ b/views/browse.erb @@ -43,8 +43,8 @@