Sha256: 865c0810116c40fd448848fbd146bce542a8cbe4937bc1a0d1bdc9668603e579

Contents?: true

Size: 470 Bytes

Versions: 8

Compression:

Stored size: 470 Bytes

Contents

Rails.application.routes.draw do
  # Routes for RaroCrud
  get '/crud/:model' => "crud#index"
  get '/crud/:model/:id/edit' => "crud#edit"
  delete '/crud/:model/:id/destroy' => "crud#destroy"
  get '/crud/:model/new' => "crud#new"
  get '/crud/:model/query' => "crud#query"
  post '/crud/:model/create' => "crud#create"
  patch '/crud/:model/:id/create' => "crud#create"
  get '/crud/:model/:id/acao/:acao' => "crud#action"
  get '/crud/:model/:id' => "crud#show"

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
templus_models-1.2.0 config/routes.rb
templus_models-1.0.6 config/routes.rb
templus_models-1.0.5 config/routes.rb
templus_models-1.0.4 config/routes.rb
templus_models-1.0.3 config/routes.rb
templus_models-1.0.2 config/routes.rb
templus_models-1.0.1 config/routes.rb
templus_models-1.0.0 config/routes.rb