Sha256: b767c23515733ad55bfc5c8e2ca2112e2df83ba15fdde353490f31662a36678f

Contents?: true

Size: 795 Bytes

Versions: 11

Compression:

Stored size: 795 Bytes

Contents

# ## Index
#
# This view is the template for the index page.
#
# ## Local variables:
#
# - `page`:
#   An instance of [Administrate::Page::Collection][1].
#   Contains helper methods to help display a table,
#   and knows which attributes should be displayed in the resource's table.
# - `resources`:
#   An instance of `ActiveRecord::Relation` containing the resources
#   that match the user's search criteria.
#   By default, these resources are passed to the table partial to be displayed.
# - `search_term`:
#   A string containing the term the user has searched for, if any.
#
# [1]: http://www.rubydoc.info/gems/administrate/Administrate/Page/Collection

json.resources resources do |resource|
  json.id resource.id
  json.dashboard_display_name @dashboard.display_resource(resource)
end

Version data entries

11 entries across 11 versions & 4 rubygems

Version Path
administrate-field-has_many_search-0.2.1 app/views/administrate/application/index.json.jbuilder
administrate-field-belongs_to_search-0.10.0 app/views/administrate/application/index.json.jbuilder
administrate-field-belongs_to_search-0.9.0 app/views/administrate/application/index.json.jbuilder
administrate-field-belongs_to_search-0.8.0 app/views/administrate/application/index.json.jbuilder
administrate-field-has_many_search-0.2.0 app/views/administrate/application/index.json.jbuilder
administrate-field-has_many_search-0.1.0 app/views/administrate/application/index.json.jbuilder
viniBaxter-spa-belongs_to_search-1.0.0 app/views/administrate/application/index.json.jbuilder
administrate-field-belongs_to_search-0.7.0 app/views/administrate/application/index.json.jbuilder
bimbamboom_search-0.1.0 app/views/administrate/application/index.json.jbuilder
administrate-field-belongs_to_search-0.6.0 app/views/administrate/application/index.json.jbuilder
administrate-field-belongs_to_search-0.5.0 app/views/administrate/application/index.json.jbuilder