[Hiki-cvs 1536] [1081] use @request instead of @cgi

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 9月 10日 (木) 23:03:13 JST


Revision: 1081
          http://sourceforge.jp/projects/hiki/svn/view?view=rev&revision=1081
Author:   okkez
Date:     2009-09-10 23:03:13 +0900 (Thu, 10 Sep 2009)

Log Message:
-----------
use @request instead of @cgi

Modified Paths:
--------------
    hiki/branches/rack/misc/plugin/template.rb

Modified: hiki/branches/rack/misc/plugin/template.rb
===================================================================
--- hiki/branches/rack/misc/plugin/template.rb	2009-09-10 14:03:11 UTC (rev 1080)
+++ hiki/branches/rack/misc/plugin/template.rb	2009-09-10 14:03:13 UTC (rev 1081)
@@ -38,8 +38,8 @@
 end
 
 def load_template
-  tmpl_name =****@cgi*****['template']
-  page =****@cgi*****['p'] ? @cgi.params['p'] : 'FrontPage'
+  tmpl_name =****@reque*****['template']
+  page =****@reque*****['p'] ? @request.params['p'] : 'FrontPage'
 
   @text = if tmpl_name
     @db.load(tmpl_name)




Hiki-cvs メーリングリストの案内
Back to archive index