Permalink
Browse files

Merge pull request #3 from copperlight/master

fix url redirect after clicking save
  • Loading branch information...
2 parents dab4446 + a605907 commit 7b1e6940a8ebd96f4f38efb0c457e8db1825abf4 @marc-an-be committed Jan 6, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 pilltracker.rb
View
2 pilltracker.rb
@@ -71,7 +71,7 @@ class Event
%div&= "#{event.type}: #{event.description}"
@@ new
-%form{:action => '/new/', :method => 'post'}
+%form{:action => '/new/', :method => 'post', 'data-ajax' => 'false'}
%p
%label{:for => 'event'} Event
%p

0 comments on commit 7b1e694

Please sign in to comment.