module RailsImporter::Controllers::Helpers

Public Instance Methods

after_import_path() click to toggle source
# File lib/rails_importer/controllers/helpers.rb, line 6
def after_import_path
  context.root_path
end

Protected Instance Methods

context() click to toggle source
# File lib/rails_importer/controllers/helpers.rb, line 12
def context
  router_name = RailsImporter.router_name
  context = router_name ? send(router_name) : self
end