Sha256: aaa183116072c6fd403696bcb146024ed27be80caf360587a6ba595c589100dc

Contents?: true

Size: 328 Bytes

Versions: 2

Compression:

Stored size: 328 Bytes

Contents

Webgit::Engine.routes.draw do
  
  root 'git#index'
  
  get 'current_repo/:repo_name' => 'git#set_current_repo', as: 'current_repo'
  get 'tree/:branch(/*path)' => 'git#tree', as: 'webgit_tree'
  get 'blob/:branch(/*path)' => 'git#blob', as: 'webgit_blob'
  get 'preview/:branch(/*path)' => 'git#preview', as: 'preview'
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
webgit-0.0.2 config/routes.rb
webgit-0.0.1 config/routes.rb