Skip to content
Browse files

suppression d'une redondance

  • Loading branch information...
1 parent 169bf74 commit c713eccf930c6ff1eb27babf7bfaa75b5062212d @trecouvr trecouvr committed Jun 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main.opa
View
2 src/main.opa
@@ -23,7 +23,7 @@ render_page(url : string) =
title = Page_data.get(Page_data.mk_ref(url)).title
// There is two css file (the first is the general css file (static))
// The second is created dynamically with the database
- Resource.styled_page("{Config.get().site_name} - {Page_data.get(Page_data.mk_ref(url)).title}", ["/_css_{url}.css"] ,body)
+ Resource.styled_page("{Config.get().site_name} - {title}", ["/_css_{url}.css"] ,body)
urls : Parser.general_parser(http_request -> resource) =
parser

0 comments on commit c713ecc

Please sign in to comment.
Something went wrong with that request. Please try again.