lib/grape/app/templates/app/api.rb in grape-app-0.6.1 vs lib/grape/app/templates/app/api.rb in grape-app-0.6.2
- old
+ new
@@ -5,6 +5,8 @@
autoload :V1
autoload :Base
end
# Mount root API to app
-Grape::App.mount API::V1
+Grape::App.instance_eval do
+ mount API::V1
+end