Sha256: 23750f43d2274785c35770e8c9a1c17caed35afacbb077165ca9042b221f136c
Contents?: true
Size: 856 Bytes
Versions: 1
Compression:
Stored size: 856 Bytes
Contents
Sunrise::Engine.routes.draw do root :to => "dashboard#index" match "/services", :to => "shared#services", :as => "services" controller "manager" do scope ":model_name" do match "/", :to => :index, :as => "index", :via => [:get, :post] match "/export.:format", :to => :export, :as => "export" match "/sort", :to => :sort, :as => "sort" get "/new", :to => :new, :as => "new" post "/new", :to => :create, :as => "create" delete "/mass_destroy", :to => :mass_destroy, :as => "mass_destroy" scope ":id" do get "/", :to => :show, :as => "show" get "/edit", :to => :edit, :as => "edit" put "/edit", :to => :update, :as => "update" get "/delete", :to => :delete, :as => "delete" delete "/delete", :to => :destroy, :as => "destroy" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sunrise-cms-0.3.0.rc | config/routes.rb |