Add link to features UI to manager dashboard

This commit is contained in:
Paul Chavard 2018-04-18 12:22:33 +02:00
parent 3f3358db16
commit 7dd0611a28
2 changed files with 2 additions and 0 deletions

View file

@ -23,4 +23,5 @@ as defined by the routes in the `admin/` namespace
<hr />
<%= link_to "Delayed Job", manager_delayed_job_path, class: "navigation__link" %>
<%= link_to "Features", manager_flipflop_path, class: "navigation__link" %>
</nav>

View file

@ -15,6 +15,7 @@ Rails.application.routes.draw do
post 'demandes/refuse_administrateur'
authenticate :administration do
mount Flipflop::Engine => "/features"
match "/delayed_job" => DelayedJobWeb, :anchor => false, :via => [:get, :post]
end