Add cards to custom pages

This commit is contained in:
Manu
2019-01-01 18:19:32 -05:00
parent 3bc3719507
commit 722a431b54
15 changed files with 283 additions and 11 deletions

View File

@@ -9,6 +9,7 @@ class PagesController < ApplicationController
@banners = Banner.in_section('help_page').with_active
if @custom_page.present?
@cards = Widget::Card.page(@custom_page.id)
render action: :custom_page
else
render action: params[:id]