Sha256: e757d70b784d248db88bc98e7fa9e90599cd40d5009500ad284e2088e5d195a9

Contents?: true

Size: 331 Bytes

Versions: 1

Compression:

Stored size: 331 Bytes

Contents

module RailsImporter
  module Controllers
    module Helpers
      extend ActiveSupport::Concern

      def after_import_path
        context.root_path
      end

      protected

      def context
        router_name = RailsImporter.router_name
        context = router_name ? send(router_name) : self
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_importer-0.2.1 lib/rails_importer/controllers/helpers.rb