Sha256: 5e8f751e97c039222e41f95ec3f141935019fb9f27ff12de8d0e02e209961f72

Contents?: true

Size: 343 Bytes

Versions: 26

Compression:

Stored size: 343 Bytes

Contents

Rails.application.routes.draw do
  # Route for a Rack::Directory middleware app
  if OodAppkit.routes.files_rack_app
    mount OodAppkit::FilesRackApp.new => '/files', as: :files
  end

  # Route for hosting GitHub style wiki
  if OodAppkit.routes.wiki
    get 'wiki/*page' => 'ood_appkit/wiki#show', as: :wiki, content_path: 'wiki'
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
ood_appkit-2.1.4 config/routes.rb
ood_appkit-2.1.1 config/routes.rb
ood_appkit-2.1.0 config/routes.rb
ood_appkit-2.0.2 config/routes.rb
ood_appkit-1.1.5 config/routes.rb
ood_appkit-1.0.3 config/routes.rb
ood_appkit-1.0.2 config/routes.rb
ood_appkit-1.0.1 config/routes.rb
ood_appkit-1.0.0 config/routes.rb
ood_appkit-0.3.6 config/routes.rb
ood_appkit-0.3.5 config/routes.rb
ood_appkit-0.3.4 config/routes.rb
ood_appkit-0.3.3 config/routes.rb
ood_appkit-0.3.2 config/routes.rb
ood_appkit-0.3.1 config/routes.rb
ood_appkit-0.3.0 config/routes.rb
ood_appkit-0.2.8 config/routes.rb
ood_appkit-0.2.7 config/routes.rb
ood_appkit-0.2.6 config/routes.rb
ood_appkit-0.2.5 config/routes.rb