forked from OpenNeo/impress
but don't freak out on the homepage if there's no active campaign
This commit is contained in:
parent
d588253c4c
commit
8775bfb9fd
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue