Module: UploadifyRailsHelper

Defined in:
lib/uploadify-rails/helpers/uploadify_rails_helper.rb

Instance Method Summary collapse

Instance Method Details

#uploadify_rails_optionsObject



2
3
4
5
6
7
8
9
# File 'lib/uploadify-rails/helpers/uploadify_rails_helper.rb', line 2

def uploadify_rails_options
  config = Uploadify::Rails.configuration
  if defined?(FlashCookieSession)
    config.uploadify_options(request_forgery_protection_token, cookies, form_authenticity_token)
  else
    config.uploadify_options
  end
end