Sha256: 1bef7ca3a72ca206eab7302b8011dd5e1fcfaa8b4d944b580ac1b2d344771991
Contents?: true
Size: 301 Bytes
Versions: 34
Compression:
Stored size: 301 Bytes
Contents
class Backend::Pages::BaseController < Backend::BaseController before_action :find_page before_action do breadcrumb.add t('b.pages'), backend_pages_path breadcrumb.add @page.description, edit_backend_page_path(@page) end def find_page @page = Page.find params[:page_id] end end
Version data entries
34 entries across 34 versions & 1 rubygems