Skip to content

Commit

Permalink
Add another feature check
Browse files Browse the repository at this point in the history
  • Loading branch information
Jupiterrr committed Aug 8, 2015
1 parent 512264d commit ac03097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/events_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def event
helper_method :event

def trigger_ical_update
IcalUpdateWorker.perform_async(current_user.id)
IcalUpdateWorker.perform_async(current_user.id) if feature(:background_ical_generation)
end

end

0 comments on commit ac03097

Please sign in to comment.