Sha256: 468a16c92a83bc9040928dfbf73cf949eedafcdc0b91a5dcd6f6d24e6a77e12a

Contents?: true

Size: 1019 Bytes

Versions: 12

Compression:

Stored size: 1019 Bytes

Contents

Pageflow.configure do |config|
  config.admin_resource_tabs.register(:entry, name: :members, component: Pageflow::Admin::MembersTab)
  config.admin_resource_tabs.register(:entry, name: :revisions, component: Pageflow::Admin::RevisionsTab)

  config.admin_resource_tabs.register(:entry,
                                      name: :features,
                                      component: Pageflow::Admin::FeaturesTab,
                                      required_account_role: :manager)

  config.admin_resource_tabs.register(:user, name: :accounts, component: Pageflow::Admin::UserAccountsTab)
  config.admin_resource_tabs.register(:user, name: :entries, component: Pageflow::Admin::UserEntriesTab)

  config.admin_resource_tabs.register(:theming, name: :entries, component: Pageflow::Admin::EntriesTab)
  config.admin_resource_tabs.register(:theming, name: :users, component: Pageflow::Admin::UsersTab)
  config.admin_resource_tabs.register(:theming, name: :features, component: Pageflow::Admin::FeaturesTab)
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
pageflow-12.0.4 config/initializers/admin_resource_tabs.rb
pageflow-12.0.3 config/initializers/admin_resource_tabs.rb
pageflow-12.0.2 config/initializers/admin_resource_tabs.rb
pageflow-12.0.1 config/initializers/admin_resource_tabs.rb
pageflow-12.0.0 config/initializers/admin_resource_tabs.rb
pageflow-12.0.0.rc7 config/initializers/admin_resource_tabs.rb
pageflow-12.0.0.rc6 config/initializers/admin_resource_tabs.rb
pageflow-12.0.0.rc5 config/initializers/admin_resource_tabs.rb
pageflow-12.0.0.rc4 config/initializers/admin_resource_tabs.rb
pageflow-12.0.0.rc3 config/initializers/admin_resource_tabs.rb
pageflow-12.0.0.rc2 config/initializers/admin_resource_tabs.rb
pageflow-12.0.0.rc1 config/initializers/admin_resource_tabs.rb