Skip to content
This repository has been archived by the owner on Jun 21, 2018. It is now read-only.

Commit

Permalink
don't display includes 2wice
Browse files Browse the repository at this point in the history
git-svn-id: https://calendardateselect.googlecode.com/svn/trunk@260 4972a71b-da31-0410-b7dd-373b726a5e75
  • Loading branch information
timcharper committed Nov 14, 2007
1 parent c03b8dc commit 0995b97
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/includes_helper.rb
@@ -1,6 +1,9 @@
class CalendarDateSelect
module IncludesHelper
def calendar_date_select_includes(*args)
return "" if @cds_already_included
@cds_already_included=true

options = (Hash === args.last) ? args.pop : {}
options.assert_valid_keys(:style, :format, :locale)

Expand Down

0 comments on commit 0995b97

Please sign in to comment.