Module: ActiveCopy
- Defined in:
- lib/active_copy.rb,
lib/active_copy/base.rb,
lib/active_copy/paths.rb,
lib/active_copy/source.rb,
lib/active_copy/finders.rb,
lib/active_copy/version.rb,
lib/active_copy/markdown.rb,
lib/active_copy/renderer.rb,
lib/active_copy/template.rb,
lib/active_copy/attributes.rb,
lib/active_copy/view_helper.rb
Overview
The ActionView template handler that parses Markdown files into HTML using our custom Markdown handler. Also checks for YAML front matter and parses it out before rendering the Markdown source into HTML.
Defined Under Namespace
Modules: Attributes, Finders, Paths, Source, Template, ViewHelper Classes: Base, Markdown, Renderer
Constant Summary collapse
- VERSION =
"1.0.0"
Class Method Summary collapse
Class Method Details
.content_path ⇒ Object
14 15 16 17 18 19 20 |
# File 'lib/active_copy.rb', line 14 def self.content_path @content_path = if ENV['RAILS_ENV'] == 'test' 'spec/fixtures' else 'app/views' end end |