lib/voluntary.rb in voluntary-0.1.0 vs lib/voluntary.rb in voluntary-0.2.0
- old
+ new
@@ -1,5 +1,9 @@
+# controller
+require 'rails-api'
+
+# misc
require 'pg'
require 'mongoid'
require 'foreman'
require 'rails_autolink'
require 'remotipart'
@@ -28,11 +32,10 @@
require 'simple_form'
require 'country_select'
require 'diffy'
require 'will_paginate'
require 'will_paginate/mongoid'
-require 'client_side_validations'
require 'gon'
require 'carrierwave'
require 'fog'
require 'mini_magick'
require 'json'
@@ -56,35 +59,20 @@
require 'sass'
require 'coffee-rails'
require 'handlebars_assets'
require 'uglifier'
require 'coffee-script'
+require 'font-awesome-rails'
-require 'voluntary/helpers/application'
-require 'voluntary/helpers/collection'
-require 'voluntary/helpers/comments'
-require 'voluntary/helpers/form'
-require 'voluntary/helpers/language'
-require 'voluntary/helpers/layout'
-require 'voluntary/helpers/product'
-require 'voluntary/helpers/show'
-require 'voluntary/helpers/wizard'
+require 'voluntary/navigation'
require 'db_seed'
require 'volontariat_seed'
+if Rails.env == 'test'
+ require 'voluntary/test/rspec_helpers/factories'
+end
+
require 'voluntary/engine'
module Voluntary
end
-
-if defined?(ActionView::Base)
- ActionView::Base.send :include, Voluntary::Helpers::Application
- ActionView::Base.send :include, Voluntary::Helpers::Collection
- ActionView::Base.send :include, Voluntary::Helpers::Comments
- ActionView::Base.send :include, Voluntary::Helpers::Form
- ActionView::Base.send :include, Voluntary::Helpers::Language
- ActionView::Base.send :include, Voluntary::Helpers::Layout
- ActionView::Base.send :include, Voluntary::Helpers::Product
- ActionView::Base.send :include, Voluntary::Helpers::Show
- ActionView::Base.send :include, Voluntary::Helpers::Wizard
-end
\ No newline at end of file