annotate app/views/pastes/new.html.erb @ 32:59ef6698fa0d

Rescue from not unique error by redirecting to previously pasted paste.
author Edho Arief <edho@myconan.net>
date Mon, 10 Sep 2012 04:14:31 +0700
parents a8b0775798c3
children b1a816ff0d91
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26
a8b0775798c3 Added title.
Edho Arief <edho@myconan.net>
parents: 25
diff changeset
1 <% provide :title, 'New Paste' %>
25
faf30647205e Use bootstrap.
Edho Arief <edho@myconan.net>
parents: 14
diff changeset
2 <h1>New Paste</h1>
2
42de15334db1 Added the pastes.
Edho Arief <edho@myconan.net>
parents:
diff changeset
3
42de15334db1 Added the pastes.
Edho Arief <edho@myconan.net>
parents:
diff changeset
4 <%= render 'form' %>