Created
March 28, 2019 11:35
-
-
Save MaryKuz/d521978f4f1195fd049efcb8a024488b to your computer and use it in GitHub Desktop.
Create singleton resource
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
Rails.application.routes.draw do | |
namespace :api do | |
... | |
resource :user, only: [:create] | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment