app/controllers/anoubis/data/defaults.rb
##
# Sets hash of defined tabs. Every tab consists of next attributes:
#
# *Attributes:*
# - *:title* (String) --- title of the tab
# - *:where* (Hash | Array) --- hash or array of where parameters for ActiveRecord request. If doesn't present
#   then there are no additional where statements for current tab
#
# @return [Hash] returns hash of assigned tabs.
#
# @example Sets custom tabs
#   def tabs
#     {
#         :all => {
#             title: 'All IDs'
#         },
#         :id_1 => {
#             title: 'Only ID 1',
#             where: { id: 1 }
#         },
#         :other_id => {
#             title: 'Other IDs',
#             where: ['id > ?', 1]
#         }
#     }
#   end
Sets hash of defined tabs.
Sets hash of defined tabs .
def tabs
        {
          :default => {
            title: I18n.t('anoubis.default_tab'),
            tips: I18n.t('anoubis.default_tab_hint')
          }
        }
      end
def tabs { :default => { title : I18n . t ( 'anoubis.default_tab' ) , tips : I18n . t ( 'anoubis.default_tab_hint' ) } } end
Sets hash of defined tabs.
Sets hash of defined tabs .
returns hash of assigned tabs.
returns hash of assigned tabs .
Hash
example
None