activeadmin-plugins / active_admin_datetimepicker

:calendar: active_admin_datetimepicker gem
MIT License
72 stars 48 forks source link

Rails 6 support #59

Closed Jay-Plumb closed 5 years ago

Jay-Plumb commented 5 years ago

Hey, I am trying to use the gem within a rails 6 project but the datetime picker does not load. Will there be rails 6 support with this gem any time soon?

rails v6.0.0, active_admin_datetimepicker v0.7.2, active_admin v2.3.1

Jay-Plumb commented 5 years ago

I am closing the issue but I think the README.md needs to be updated.

Add the following line into app/assets/javascripts/active_admin.js.coffee:

#= require active_admin_datetimepicker

should be changed with

Add the following line into app/assets/javascripts/active_admin.js:

//= require active_admin_datetimepicker

At least this was the solution in my case