lib/generators/happy_seed/admin/templates/app/admin/newsletter.rb in happy_seed-0.0.11 vs lib/generators/happy_seed/admin/templates/app/admin/newsletter.rb in happy_seed-0.0.12

- old
+ new

@@ -1,5 +1,5 @@ -if ENV['MAILCHIMP_API_KEY'] +if !ENV['MAILCHIMP_API_KEY'].blank? ActiveAdmin.register_page "Newsletter" do content do if !params[:list_id] @lists = Gibbon::API.new.lists.list \ No newline at end of file