lib/templates/layouts/dummy_data.html.erb~ in thesilverspoon-0.0.7 vs lib/templates/layouts/dummy_data.html.erb~ in thesilverspoon-0.0.8
- old
+ new
@@ -6,10 +6,10 @@
<%%= javascript_include_tag "application" %>
<%%= csrf_meta_tags %>
<script type="text/javascript">
$(function() {
$(".edit_link").click(function(){
- $.get("<%=params[:controller]%>"+"/"+$(this).attr("id")+"/edit?get=1",function(data){
+ $.get("<%%=params[:controller]%>"+"/"+$(this).attr("id")+"/edit?get=1",function(data){
$("#edit_form .modal-body").html(data);
$("#edit_form").modal('toggle');
}) ;