Class: ConcertoFrontend::Engine

Inherits:
Rails::Engine
  • Object
show all
Defined in:
lib/concerto_frontend/engine.rb

Instance Method Summary collapse

Instance Method Details

#plugin_info(plugin_info_class) ⇒ Object

Define plugin information for the Concerto application to read



7
8
9
10
11
# File 'lib/concerto_frontend/engine.rb', line 7

def plugin_info(plugin_info_class)
  @plugin_info ||= plugin_info_class.new do
    add_view_hook "frontend/ScreensController", :concerto_frontend, partial: "concerto_frontend/frontend"
  end
end