Sha256: a00dabe9abedfe6cea9f9b1f104aaa9894e2ec7dadab8442157bd7b5f039a188
Contents?: true
Size: 580 Bytes
Versions: 5
Compression:
Stored size: 580 Bytes
Contents
module MountainView module ApplicationHelper def method_missing(method, *args, &block) if method.to_s.end_with?("_path") || 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") || 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
5 entries across 5 versions & 1 rubygems