Sha256: e5fc2411b731c6ecddc8cb46db2727f8d8719426146f95e1bb53e37660c94cf0
Contents?: true
Size: 353 Bytes
Versions: 6
Compression:
Stored size: 353 Bytes
Contents
require 'tabulous' require 'rails' module Tabulous class Railtie < Rails::Railtie initializer 'tabulous.helper' do |app| ActionView::Base.send :include, Tabulous::ViewHelpers end config.to_prepare do filename = File.join(Rails.root.to_s, 'app/tabs/tabulous.rb') load filename if File.exists?(filename) end end end
Version data entries
6 entries across 6 versions & 1 rubygems