Skip to content

Commit

Permalink
Merge pull request #51 from x-redmine/release/4.1.x
Browse files Browse the repository at this point in the history
rails 5.1+ & redmine 4.1 compatibility
  • Loading branch information
dro123 committed Apr 9, 2020
2 parents 2af056c + ab54e52 commit e663093
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 e663093

Please sign in to comment.