diff --git a/administrate-field-belongs_to_search.gemspec b/administrate-field-belongs_to_search.gemspec index a49f78a..3ff7eb2 100755 --- a/administrate-field-belongs_to_search.gemspec +++ b/administrate-field-belongs_to_search.gemspec @@ -17,7 +17,7 @@ Gem::Specification.new do |gem| gem.test_files = `git ls-files -z -- {spec}/*`.split("\x0") gem.add_dependency 'administrate', '>= 0.3', '< 1.0' - gem.add_dependency 'rails', '>= 4.2', '< 5.2' + gem.add_dependency 'rails', '>= 4.2', '< 6.0' gem.add_dependency 'selectize-rails', '~> 0.6' gem.add_development_dependency 'coveralls', '~> 0' diff --git a/app/views/administrate/application/index.json.jbuilder b/app/views/administrate/application/index.json.jbuilder index 8261084..6b9bc3c 100644 --- a/app/views/administrate/application/index.json.jbuilder +++ b/app/views/administrate/application/index.json.jbuilder @@ -19,5 +19,5 @@ json.resources resources do |resource| json.id resource.id - json.dashboard_display_name @_dashboard.display_resource(resource) + json.dashboard_display_name @dashboard.display_resource(resource) end