Class: Refinery::Contacts::Engine

Inherits:
Rails::Engine
  • Object
show all
Includes:
Engine
Defined in:
lib/refinery/contacts/engine.rb

Class Method Summary collapse

Class Method Details

.register(tab) ⇒ Object



9
10
11
12
# File 'lib/refinery/contacts/engine.rb', line 9

def self.register(tab)
  tab.name = tab.name = ::I18n.t(:'refinery.plugins.contacts.tab_name')
  tab.partial = "/refinery/admin/pages/tabs/contacts/contacts"
end