Skip to content
Browse files

some code arrangmenet

  • Loading branch information...
1 parent 9d2f231 commit 4a494eed52484840aed1a35674f14b17b0e210d8 Ida Swarczewskaja committed Dec 23, 2011
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/main.opa
View
6 src/main.opa
@@ -4,7 +4,9 @@ import opado.user
import opado.admin
import opado.todo
-function with_request(f){ f(ThreadContext.get({current}).request ? error("no request")) }
+function with_request(f){
+ f(ThreadContext.get({current}).request ? error("no request"))
+}
urls = parser
{Rule.debug_parse_string((function(s){Log.notice("URL", s)}))}
@@ -20,3 +22,5 @@ Server.start(Server.http,
{register:["/resources/js/google_analytics.js"]},
{custom:urls}]
)
+
+

0 comments on commit 4a494ee

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