Module: EffectiveSearchHelper

Defined in:
app/helpers/effective_search_helper.rb

Instance Method Summary collapse

Instance Method Details

#effective_search_admin_nav_iconObject



15
16
17
18
19
# File 'app/helpers/effective_search_helper.rb', line 15

def effective_search_admin_nav_icon
  if EffectiveResources.authorized?(self, :index, EffectiveSearch.AdminSearch)
    render('admin/search/form_nav_icon')
  end
end

#effective_search_nav_iconObject



9
10
11
12
13
# File 'app/helpers/effective_search_helper.rb', line 9

def effective_search_nav_icon
  if EffectiveResources.authorized?(self, :index, EffectiveSearch.Search)
    render('effective/search/form_nav_icon')
  end
end

#effective_search_nav_itemObject



3
4
5
6
7
# File 'app/helpers/effective_search_helper.rb', line 3

def effective_search_nav_item
  if EffectiveResources.authorized?(self, :index, EffectiveSearch.Search)
    render('effective/search/form_nav_item')
  end
end