1
0
Fork 0
forked from OpenNeo/impress

but don't freak out on the homepage if there's no active campaign

This commit is contained in:
Emi Matchu 2014-09-11 18:12:07 -05:00
parent d588253c4c
commit 8775bfb9fd

View file

@ -78,7 +78,7 @@ class OutfitsController < ApplicationController
@neopets_usernames = user_signed_in? ? current_user.neopets_usernames : []
@campaign = Campaign.current
@campaign = Campaign.current rescue nil
end
def show