diff --git a/app/controllers/bounties_controller.rb b/app/controllers/bounties_controller.rb index 13abfef..39a4327 100644 --- a/app/controllers/bounties_controller.rb +++ b/app/controllers/bounties_controller.rb @@ -5,6 +5,7 @@ class BountiesController < ApplicationController # GET /bounties or /bounties.json def index + params[:filter] = "open" if params[:filter].nil? @bounties = Bounty.sorted @filter, @bounties = params[:filter], @bounties.filtered(params[:filter]) if Bounty::STATUSES.include?(params[:filter]) @pagy, @bounties = pagy(@bounties) diff --git a/app/views/bounties/index.html.erb b/app/views/bounties/index.html.erb index 0f90da4..abbce0a 100644 --- a/app/views/bounties/index.html.erb +++ b/app/views/bounties/index.html.erb @@ -5,15 +5,25 @@
+ There are no open bounties right now.
+
+ Spread the word that we need people to post new Beginner Bounties!
+