Add back link to cards form
As we normally do in other places.
This commit is contained in:
committed by
Javi Martín
parent
1f6ca4980f
commit
3aaf5ce151
@@ -2,6 +2,7 @@ class Admin::SiteCustomization::CardsController < Admin::SiteCustomization::Base
|
||||
include Admin::Widget::CardsActions
|
||||
load_and_authorize_resource :page, class: "::SiteCustomization::Page"
|
||||
load_and_authorize_resource :card, through: :page, class: "Widget::Card"
|
||||
helper_method :index_path
|
||||
|
||||
def index
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user