Module: CharacterHelper
- Defined in:
- app/helpers/character_helper.rb
Instance Method Summary collapse
Instance Method Details
#page_templates ⇒ Object
2 3 4 5 6 7 |
# File 'app/helpers/character_helper.rb', line 2 def page_templates() app_pages_templates = Dir.glob('app/views/pages/_*.html.erb').collect do |t| t.split('/_').last.gsub('.html.erb', '') end app_pages_templates + %w( redactor default ) end |