• R/O
  • SSH
  • HTTPS

tenarai: 提交


Commit MetaInfo

修訂106 (tree)
時間2008-08-04 02:18:27
作者junkikuchi

Log Message

updated.

Change Summary

差異

--- trunk/init_model.rb (revision 105)
+++ trunk/init_model.rb (revision 106)
@@ -31,7 +31,7 @@
3131 :name => 'admin.content',
3232 :class => 'View',
3333 :row => {'name' => 'content'},
34- :relation => {'resource' => 'widget:admin.session.user.view.widget'},
34+ :relation => {'resource' => 'widget:admin.session.user.doc.bd.view.widget'},
3535 },
3636
3737 {
--- trunk/webapp/Widget/HTML.rb (revision 105)
+++ trunk/webapp/Widget/HTML.rb (revision 106)
@@ -55,9 +55,9 @@
5555
5656 def render_html(head, body)
5757 head.tag('style', 'type' => 'text/css') do |style|
58- style.code(Tenarai::CSS.new do |css|
58+ style.code(Tenarai::CSS.new do |_css|
5959 @builder.view.widget.each do |val|
60- val.render_css(css)
60+ val.render_css(_css)
6161 end
6262 end.to_s)
6363 end
--- trunk/webapp/Widget.rb (revision 105)
+++ trunk/webapp/Widget.rb (revision 106)
@@ -229,7 +229,7 @@
229229 ret << _id
230230 end
231231
232- unless val.nil?
232+ unless val.to_s.empty?
233233 ret << ' ' << val.to_s
234234 end
235235
Show on old repository browser