Sha256: 8fcd86dd0ee13fbea0e39664957f3575d911538bb4b759b211b5ea8e1b52f778
Contents?: true
Size: 623 Bytes
Versions: 2
Compression:
Stored size: 623 Bytes
Contents
VundabarApp.routes.draw do # define your routes here # use root to define you landing routes # Example: root "pages#index" # This will ensure that the index action of the pagesController is your # default action # Available routes requests are get, post, put and delete # Each takes in an alias the first parameter and a hash as the second # The hash key is "to" while the value is the controller and action # Example get "user", to: "sessions#index" # You should define routes # You can also define routes with resources. just add resources :name and you # will have access to all restful urls end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vundabar-0.2.0 | generators/templates/routes.rb |
vundabar-0.1.0 | generators/templates/routes.rb |