Class: Maglev::FetchStaticPages
- Inherits:
-
Object
- Object
- Maglev::FetchStaticPages
- Includes:
- Injectable
- Defined in:
- app/services/maglev/fetch_static_pages.rb
Overview
Editors might want to create a link to a non Maglev powered page of the site.
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
10 11 12 13 14 |
# File 'app/services/maglev/fetch_static_pages.rb', line 10 def call return [] if config.static_pages.blank? build_static_pages end |