lib/world-flags.rb in world-flags-0.1.4 vs lib/world-flags.rb in world-flags-0.1.5
- old
+ new
@@ -1,5 +1,4 @@
require "world_flags/view_helper"
require "world_flags/locale_helper"
-require "rails"
-require 'world_flags/rails/engine'
+require 'world_flags/rails/engine' if defined?(::Rails::Engine)