Sha256: dba136c33986c71e0e131f829a0fafd527c73fa39033dd8328b6a2ec3bc232b0
Contents?: true
Size: 553 Bytes
Versions: 6
Compression:
Stored size: 553 Bytes
Contents
module Sufia module Admin class FeaturesController < Flipflop::FeaturesController layout 'admin' before_action do authorize! :manage, Sufia::Feature end # overriding so we can have a layout https://github.com/voormedia/flipflop/issues/18 def index add_breadcrumb t(:'sufia.controls.home'), root_path add_breadcrumb t(:'sufia.toolbar.admin.menu'), sufia.admin_path add_breadcrumb t(:'sufia.admin.sidebar.settings'), sufia.admin_features_path super end end end end
Version data entries
6 entries across 6 versions & 1 rubygems