Adds lodgings controller and view

This commit is contained in:
Gopesh Tulsyan 2014-06-14 21:48:43 +05:30
parent 029281a9ae
commit e494192ad2
8 changed files with 111 additions and 1 deletions

View file

@ -32,6 +32,8 @@ Osem::Application.routes.draw do
resources :sponsors, only: [:show, :update, :index]
resources :lodgings, only: [:show, :update, :index]
resources :eventtypes, only: [:show, :index] do
collection do
patch :update