Sha256: 90b9f3ebe05773c4947162e2551cd53b236ceccb6a11490c3e7c77fe4966ebb3
Contents?: true
Size: 337 Bytes
Versions: 2
Compression:
Stored size: 337 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_importer-0.2.0 | lib/rails_importer/controllers/helpers.rb |
rails_importer-0.1.0 | lib/rails_importer/controllers/helpers.rb |