Sha256: 9f372677b033740717f4548d5816caefaa6c996866ff53426d972f6da09e6a40
Contents?: true
Size: 296 Bytes
Versions: 6
Compression:
Stored size: 296 Bytes
Contents
class Backend::Forms::BaseController < BackendController before_action :find_form before_action -> do breadcrumb.add t('b.forms'), backend_forms_path breadcrumb.add @form.description end private def find_form @form ||= Form.find(params[:form_id].to_i).decorate end end
Version data entries
6 entries across 6 versions & 1 rubygems