examples/templates/template_liquid.rb in manveru-ramaze-2008.10 vs examples/templates/template_liquid.rb in manveru-ramaze-2008.12
- old
+ new
@@ -1,9 +1,9 @@
require 'rubygems'
require 'ramaze'
class MainController < Ramaze::Controller
- view_root __DIR__/:template
+ view_root __DIR__(:template)
engine :Liquid
def index
%{ #{A 'Home', :href => :/} | #{A(:internal)} | #{A(:external)} }
end