Sha256: 2c1f290422754524650212773308172aa1d6a103d48344ce7583b85d92553191
Contents?: true
Size: 574 Bytes
Versions: 7
Compression:
Stored size: 574 Bytes
Contents
module Contact module ApplicationHelper def method_missing method, *args, &block if method.to_s.end_with?('_path') or method.to_s.end_with?('_url') if main_app.respond_to?(method) main_app.send(method, *args) else super end else super end end def respond_to?(method) if method.to_s.end_with?('_path') or method.to_s.end_with?('_url') if main_app.respond_to?(method) true else super end else super end end end end
Version data entries
7 entries across 7 versions & 1 rubygems