Sha256: 729f94183364d610720d7466ef9f5d08d73b471e65157828e5f1c2fbfcbd4bb3
Contents?: true
Size: 301 Bytes
Versions: 15
Compression:
Stored size: 301 Bytes
Contents
# frozen_string_literal: true module Rspeckled module Rails module NamespacedEngineControllerRouteFix def self.included(base) engine_name = Dir.pwd.split('/').last.camelize engine_class = "::#{engine_name}::Engine".constantize base.routes { engine_class.routes } end end end end
Version data entries
15 entries across 15 versions & 1 rubygems