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