Class: LowVoltage::PostFinder
- Inherits:
-
HighVoltage::PageFinder
- Object
- HighVoltage::PageFinder
- LowVoltage::PostFinder
- Defined in:
- lib/low_voltage/post_finder.rb
Instance Method Summary collapse
Instance Method Details
#content_path ⇒ Object
8 9 10 |
# File 'lib/low_voltage/post_finder.rb', line 8 def content_path LowVoltage.configuration.content_path end |
#find ⇒ Object
4 5 6 |
# File 'lib/low_voltage/post_finder.rb', line 4 def find Rails.root.join("app/views/#{content_path}/#{clean_path}.md") end |