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

Version Path
udongo-7.9.0 app/controllers/backend/pages/base_controller.rb
udongo-7.8.1 app/controllers/backend/pages/base_controller.rb
udongo-7.8.0 app/controllers/backend/pages/base_controller.rb
udongo-7.7.2 app/controllers/backend/pages/base_controller.rb
udongo-7.7.1 app/controllers/backend/pages/base_controller.rb
udongo-7.7.0 app/controllers/backend/pages/base_controller.rb
udongo-7.6.2 app/controllers/backend/pages/base_controller.rb
udongo-7.6.1 app/controllers/backend/pages/base_controller.rb
udongo-7.6.0 app/controllers/backend/pages/base_controller.rb
udongo-7.5.1 app/controllers/backend/pages/base_controller.rb
udongo-7.5.0 app/controllers/backend/pages/base_controller.rb
udongo-7.4.2 app/controllers/backend/pages/base_controller.rb
udongo-7.4.1 app/controllers/backend/pages/base_controller.rb
udongo-7.4.0 app/controllers/backend/pages/base_controller.rb
udongo-7.3.5 app/controllers/backend/pages/base_controller.rb
udongo-7.3.4 app/controllers/backend/pages/base_controller.rb
udongo-7.3.3 app/controllers/backend/pages/base_controller.rb
udongo-7.3.2 app/controllers/backend/pages/base_controller.rb
udongo-7.3.1 app/controllers/backend/pages/base_controller.rb
udongo-7.2.1 app/controllers/backend/pages/base_controller.rb