Commit 8408ffac6f660a06510c7d1f1814db71c7f8163a

Authored by Victor Costa
1 parent 8f0d8761

Prevent session reset because of cache in signup form

Also a GET is more appropriate for this case.
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/account/_signup_form.html.erb
... ... @@ -16,7 +16,7 @@
16 16 <input type="hidden" id="signup_time_key" name="signup_time_key" />
17 17 <script type="text/javascript">
18 18 jQuery.ajax({
19   - type: "POST",
  19 + type: "GET",
20 20 url: "<%= url_for :controller=>'account', :action=>'signup_time' %>",
21 21 dataType: 'json',
22 22 success: function(data) {
... ...