./lib/dolt/sinatra/multi_repo_browser.rb in dolt-0.2.1 vs ./lib/dolt/sinatra/multi_repo_browser.rb in dolt-0.2.2

- old
+ new

@@ -66,9 +66,13 @@ aget "/*/blame/*" do force_ref(params[:splat], "blame", "master") end + aget "/*/refs" do + refs(params[:splat].first) + end + private def force_ref(args, action, ref) redirect(args.shift + "/#{action}/#{ref}:" + args.join) end end