Skip to content

Commit f903cb5

Browse files
committed
Manually include routing helpers
1 parent 6deb2d9 commit f903cb5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/graphql/dashboard.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ class Dashboard < Rails::Engine
7676
resources :subscriptions, only: [:show], constraints: { id: /[a-zA-Z0-9\-]+/ }
7777
post "/subscriptions/clear_all", to: "subscriptions#clear_all", as: :clear_all
7878
end
79+
80+
ApplicationController.include(Dashboard.routes.url_helpers)
7981
end
8082

8183
class ApplicationController < ActionController::Base

0 commit comments

Comments
 (0)