examples/templates/template_nagoro.rb in Pistos-ramaze-2008.09 vs examples/templates/template_nagoro.rb in Pistos-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 :Nagoro
def index
%{ #{A 'Home', :href => :/} | #{A(:internal)} | #{A(:external)} }
end