Skip to content
This repository has been archived by the owner on Jun 29, 2023. It is now read-only.

Commit

Permalink
issue with raitie
Browse files Browse the repository at this point in the history
  • Loading branch information
redant committed Jun 3, 2014
1 parent 131d6de commit 9088e26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/event_calendar/railtie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
require 'rails'

module EventCalendar
class Railtie < Rails::Engine
class Railtie < Rails::Railtie
initializer :after_initialize do
if defined?(ActionController::Base)
ActionController::Base.helper EventCalendar::CalendarHelper
Expand All @@ -16,4 +16,4 @@ class Railtie < Rails::Engine
end

# Support other ORMs
require 'event_calendar/orm/mongoid' if defined? Mongoid
require 'event_calendar/orm/mongoid' if defined? Mongoid

0 comments on commit 9088e26

Please sign in to comment.