Last active
February 12, 2019 14:42
-
-
Save tbuehlmann/b92f7b671754b56a98b65b09ca0fddc9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# app/controllers/owner/reservations_controller.rb | |
class Owner::ReservationsController < ApplicationController | |
def create | |
# … | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# app/controllers/reservations_controller.rb | |
class ReservationsController < ApplicationController | |
def create | |
# … | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# config/routes.rb | |
Rails.application.routes.draw do | |
resources :reservations | |
namespace :owner do | |
resources :reservations | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment