Sha256: 7200da1887baf4a98f633b4971f899f0a6dfaada219328154a9aaa50dab9099d

Contents?: true

Size: 241 Bytes

Versions: 10

Compression:

Stored size: 241 Bytes

Contents

# frozen_string_literal: true

require_relative 'routes/cms_admin'
require_relative 'routes/cms'

class ActionDispatch::Routing::Mapper
  def occams_route(identifier, options = {})
    send("occams_route_#{identifier}", **options)
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
occams-1.0.7.3 lib/occams/routing.rb
occams-1.0.7.2 lib/occams/routing.rb
occams-1.0.7.1 lib/occams/routing.rb
occams-1.0.7 lib/occams/routing.rb
occams-1.0.6.1 lib/occams/routing.rb
occams-1.0.6 lib/occams/routing.rb
occams-1.0.5 lib/occams/routing.rb
occams-1.0.4 lib/occams/routing.rb
occams-1.0.3 lib/occams/routing.rb
occams-1.0.2 lib/occams/routing.rb