Flowdock
method

write_asset_file_contents

Importance_0
v2.1.0 - Show latest stable - 0 notes - Class: ActionView::Helpers::AssetTagHelper
write_asset_file_contents(joined_asset_path, asset_paths) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_view/helpers/asset_tag_helper.rb, line 603
        def write_asset_file_contents(joined_asset_path, asset_paths)
          unless file_exist?(joined_asset_path)
            FileUtils.mkdir_p(File.dirname(joined_asset_path))
            File.open(joined_asset_path, "w+") { |cache| cache.write(join_asset_file_contents(asset_paths)) }
          end
        end
Register or log in to add new notes.