Sha256: 079eecda2dde4b11f691069f5342912c00d968a637636f27790931923b8ed660

Contents?: true

Size: 231 Bytes

Versions: 5

Compression:

Stored size: 231 Bytes

Contents

HocusPocus::Generator::Engine.routes.draw do
  post '/hocus_pocus/generator/scaffold', :to => 'generator#scaffold', :as => 'scaffold_generator'

  get '/:anything', :to => 'generator#index', :constraints => {:anything => /.*/}
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hocus_pocus-0.4.1 engines/generator/config/routes.rb
hocus_pocus-0.4.0 engines/generator/config/routes.rb
hocus_pocus-0.3.0 engines/generator/config/routes.rb
hocus_pocus-0.2.1 engines/generator/config/routes.rb
hocus_pocus-0.2.0 engines/generator/config/routes.rb