Permalink
Browse files

implemented class variable @@templates

  • Loading branch information...
1 parent 03b818f commit b1f6341ec39d48946d9ba0718429d9961178c26e James committed Nov 29, 2009
Showing with 3 additions and 2 deletions.
  1. +3 −2 sinatra_rscript.rb
View
@@ -13,6 +13,7 @@
@@url_base = 'http://rorbuilder.info/r/heroku/' #
@@get_routes = {}; @@post_routes = {}
@@services = {}
+@@templates = {}
@content_type = 'text/html'
def run_rcscript(rsf_url, jobs, arg='')
@@ -161,8 +162,8 @@ def follow_route(routes, key)
route[1].call( params, args)
else
- url = @@url_base + 'r.rsf'
- run(url, '//job:p150', key)
+ url = @@url_base + 'dir.rsf'
+ run(url, '//job:list', key)
#"no match"
end
end

0 comments on commit b1f6341

Please sign in to comment.