Skip to content
Browse files

Deprecate DatetimeInput.

  • Loading branch information...
1 parent 9726c29 commit d20266883019fdcb6445b655f3c297628412c666 @mjbellantoni committed Sep 2, 2012
Showing with 1 addition and 4 deletions.
  1. +1 −4 lib/formtastic-bootstrap/inputs/datetime_input.rb
View
5 lib/formtastic-bootstrap/inputs/datetime_input.rb
@@ -1,10 +1,7 @@
module FormtasticBootstrap
module Inputs
class DatetimeInput < Formtastic::Inputs::DatetimeInput
- def to_html
- ::ActiveSupport::Deprecation.warn("DatetimeInput (:as => :datetime) has been renamed to DatetimeSelectInput (:as => :datetime_select) and will be removed or changed in the next version of Formtastic, please update your forms.", caller(2))
- super
- end
+ # This has been deprecated.
end
end
end

0 comments on commit d202668

Please sign in to comment.
Something went wrong with that request. Please try again.