Sha256: 61b18e025314042a4dcdeea900e237f3e9b5f60186db7fb258bf328492e182c9

Contents?: true

Size: 350 Bytes

Versions: 4

Compression:

Stored size: 350 Bytes

Contents

Dummy::Application.routes.draw do
  
  scope :to => 'enki/posts#index' do
    get '/blag/posts.:format', :as => :formatted_posts
    get '/blag/tags/(:tag)', :as => :posts
  end
  
  
  if defined?(Enki)
    mount Enki::Engine => '/blog', :as => 'enki'
    # mount Enki::Engine => Enki::Config.default[:engine, :mount_at], :as => 'enki'
  end
  
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
enki-engine-0.0.5 spec/dummy/config/routes.rb
enki-engine-0.0.4 spec/dummy/config/routes.rb
enki-engine-0.0.3 spec/dummy/config/routes.rb
enki-engine-0.0.2 spec/dummy/config/routes.rb