Skip to content
16 lines (12 sloc) 344 Bytes
require 'flutie/body_class_helper'
require 'flutie/page_title_helper'
module Flutie
class Railtie < Rails::Railtie
initializer 'page_title.helper' do |app|
ActionView::Base.send :include, PageTitleHelper
end
initializer 'body_class.helper' do |app|
ActionView::Base.send :include, BodyClassHelper
end
end
end
Jump to Line
Something went wrong with that request. Please try again.