Sha256: a428692daf126abe41afeb20db896f16bf52a2c5383919c00ac43c4f7414d1b4
Contents?: true
Size: 341 Bytes
Versions: 8
Compression:
Stored size: 341 Bytes
Contents
module ActionDispatch::Routing class Mapper def enjoy_cms_routes(config = {}) routes_config = { root_path: "home#index" } routes_config.merge!(config) scope module: 'enjoy' do if routes_config[:root_path] root to: routes_config[:root_path] end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems