Skip to content

Commit

Permalink
Added :filename to @@file_methods - support for carrierwave. Closing f…
Browse files Browse the repository at this point in the history
  • Loading branch information
grimen authored and justinfrench committed Jan 1, 2010
1 parent c4ebcef commit 04373ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/formtastic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class SemanticFormBuilder < ActionView::Helpers::FormBuilder
@@label_str_method = :humanize
@@collection_label_methods = %w[to_label display_name full_name name title username login value to_s]
@@inline_order = [ :input, :hints, :errors ]
@@file_methods = [ :file?, :public_filename ]
@@file_methods = [ :file?, :public_filename, :filename ]
@@priority_countries = ["Australia", "Canada", "United Kingdom", "United States"]
@@i18n_lookups_by_default = false
@@default_commit_button_accesskey = nil
Expand Down

0 comments on commit 04373ff

Please sign in to comment.