Class: Pageflow::Vr::Plugin

Inherits:
Plugin
  • Object
show all
Defined in:
lib/pageflow/vr/plugin.rb

Instance Method Summary collapse

Instance Method Details

#configure(config) ⇒ Object



4
5
6
7
# File 'lib/pageflow/vr/plugin.rb', line 4

def configure(config)
  config.features.register(PageTypeFeature.new(Vr.page_type))
  config.hooks.on(:file_encoded, ProjectionAutoDetection.new)
end