Permalink
Browse files

more work to only re-calculate graph urls when necessary

  • Loading branch information...
1 parent 6d5562a commit a4f23aa4d17481f814638ee2ca31edeb372c3fae @GordonDiggs committed Mar 7, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 cataloguais.rb
View
@@ -57,8 +57,10 @@
end
end
+# empty graph urls so they will be recreated the next time
+# the graphs page is visited
after /(new|update|delete|import)/ do
- set_graph_urls
+ set :graph_urls, {}
end
get '/' do

0 comments on commit a4f23aa

Please sign in to comment.