./lib/dolt/sinatra/actions.rb in dolt-0.28.0 vs ./lib/dolt/sinatra/actions.rb in dolt-0.28.1
- old
+ new
@@ -26,9 +26,17 @@
def initialize(app, lookup, renderer)
@app = app
@dolt = Dolt::ControllerActions.new(app, lookup, renderer)
end
+ def resolve_repository(repo)
+ dolt.resolve_repository(repo)
+ end
+
+ def lookup_ref_oid(repo, ref)
+ dolt.lookup_ref_oid(repo, ref)
+ end
+
def respond_to?(method)
dolt.respond_to?(method)
end
def method_missing(method, *args, &block)