view app/views/pastes/create.txt.erb @ 78:6ae3333a0251

Moved out link click listener from $(document).ready.
author Edho Arief <edho@myconan.net>
date Sun, 07 Oct 2012 16:05:30 +0700
parents f7b7a39fb48c
children d310a716207b
line wrap: on
line source

<% unless @paste.errors.any? %>
<%= paste_path @paste, :only_path => false %>
<% else %>
Failed
<% end %>