cduhard / theme_support forked from jystewart/theme_support

This URL has Read+Write access

theme_support / init.rb
100755 19 lines (15 sloc) 0.584 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Initializes theme support by extending some of the core Rails classes
require 'patches/actionview_ex'
require 'patches/actioncontroller_ex'
require 'patches/actionmailer_ex'
require 'patches/routeset_ex'
 
# Add the tag helpers for rhtml and, optionally, liquid templates
require 'helpers/rhtml_theme_tags'
 
# Commented out to remove the message
# "Liquid doesn't seem to be loaded... uninitialized constant Liquid"
 
#begin
# require 'helpers/liquid_theme_tags'
#rescue
# # I guess Liquid isn't being used...
# STDERR.puts "Liquid doesn't seem to be loaded... #{$!}"
#end