Sha256: f113a3d0359baca8a89620a21e6a4c796ccb03f38ead2e5d6b15d42ab41434ca

Contents?: true

Size: 248 Bytes

Versions: 5

Compression:

Stored size: 248 Bytes

Contents

module Blacksand
  module Routing
    def blacksand(path = :p)
      scope module: 'blacksand_front' do
        resources :pages, only: :show, path: path
      end
    end
  end
end

ActionDispatch::Routing::Mapper.send :include, Blacksand::Routing

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
blacksand-2.5.0 lib/blacksand/routing.rb
blacksand-2.4.1 lib/blacksand/routing.rb
blacksand-2.4.0 lib/blacksand/routing.rb
blacksand-2.3.0 lib/blacksand/routing.rb
blacksand-2.2.2.1 lib/blacksand/routing.rb