Sha256: 1b8d74bd910a891a4dbef29242844758023ce897b755a49840a5f059af2e1951
Contents?: true
Size: 598 Bytes
Versions: 12
Compression:
Stored size: 598 Bytes
Contents
require File.expand_path "../../../app/helpers/virgo/video_helper", __FILE__ require 'shortcode' template_root = File.expand_path "../../../app/views/virgo/shortcode_templates", __FILE__ app_template_root = "#{Rails.root}/app/views/virgo/shortcode_templates" Shortcode.setup do |config| config.template_parser = :haml config.helpers = [Virgo::VideoHelper] config.block_tags = [:pullquote, :blockquote, :h1, :h2, :h3, :h4] config.self_closing_tags = [:image, :video, :tweet, :slideshow] config.template_paths.prepend(template_root) config.template_paths.prepend(app_template_root) end
Version data entries
12 entries across 12 versions & 1 rubygems