Skip to content

Commit

Permalink
rails 5.1+ & redmine 4.1 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
vany-egorov committed Feb 13, 2020
1 parent 2af056c commit ab54e52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
:partial => 'meeting_room_calendar/meeting_room_calendar_settings'
end

ActionDispatch::Callbacks.to_prepare do
ActionDispatch::Callbacks.to_param do
require_dependency 'project'
Project.send(:include, RedmineMeetingRoomCalendar::Patches::ProjectPatch)
end
Expand Down

0 comments on commit ab54e52

Please sign in to comment.