Sha256: 8dd5dc67c897854eeb2b47ba3c1e8b015cc8198bf936ef0952023da44b4dd437
Contents?: true
Size: 252 Bytes
Versions: 16
Compression:
Stored size: 252 Bytes
Contents
module Rspeckled 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
Version data entries
16 entries across 16 versions & 1 rubygems