Sha256: e1add8718beda5366bb75b4ff869d2d94ff05976bbc2fac8c0ca240cde78112c

Contents?: true

Size: 392 Bytes

Versions: 1

Compression:

Stored size: 392 Bytes

Contents

module ConfigurableEngine
  class ConfigurablesController < ApplicationController
    # this allows us to render url_helpers from parent app's layout
    helper Rails.application.routes.url_helpers
    # this ensures our local routes override any parent routes
    helper ConfigurableEngine::Engine.routes.url_helpers

    include ConfigurableEngine::ConfigurablesControllerMethods
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
configurable_engine-2.0.1 app/controllers/configurable_engine/configurables_controller.rb