app/helpers/tramway/landing/application_helper.rb in tramway-landing-1.2.8 vs app/helpers/tramway/landing/application_helper.rb in tramway-landing-1.2.9

- old
+ new

@@ -1,8 +1,12 @@ module Tramway module Landing module ApplicationHelper include Tramway::Admin::RussianCasesHelper include Tramway::Profiles::LinksHelper + + def header_block(block, title:, tagline:) + OpenStruct.new title: title, tagline: tagline, background: block.background + end end end end