Permalink
Browse files

action view helpers needs to be loaded first in order to as gem

  • Loading branch information...
1 parent 8353285 commit 3381975556a8691ef8890959fe6583967a9b61b5 Sandip Ransing committed Mar 13, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/calendar_date_select.rb
@@ -1,6 +1,7 @@
require "calendar_date_select/calendar_date_select.rb"
require "calendar_date_select/form_helpers.rb"
require "calendar_date_select/includes_helper.rb"
+require "action_view/helpers"
if Object.const_defined?(:Rails) && File.directory?(Rails.root.to_s + "/public")
ActionView::Helpers::FormHelper.send(:include, CalendarDateSelect::FormHelpers)

0 comments on commit 3381975

Please sign in to comment.