view app/views/pastes/create.txt.erb @ 114:b72f99d7b8cf

Dynamic url based on options selected. Yes, I'm having too much fun.
author Edho Arief <edho@myconan.net>
date Mon, 12 Nov 2012 13:31:18 +0700
parents f7b7a39fb48c
children d310a716207b
line wrap: on
line source

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