Class: Maglev::PersistPage
- Inherits:
-
Object
- Object
- Maglev::PersistPage
- Includes:
- Injectable
- Defined in:
- app/services/maglev/persist_page.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
15 16 17 18 19 20 21 22 |
# File 'app/services/maglev/persist_page.rb', line 15 def call ActiveRecord::Base.transaction do persist_page! persist_site! persist_style! page end end |