Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def create
- @notepad = Notepad.new(notepad_params)
- if @notepad.save
- redirect_to @notepad
- else
- flash[:error] = "The Notepad must have unique name"
- byebug
- dupa = 8
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement