app/views/storytime/dashboard/users/edit.html.erb in storytime-1.0.5 vs app/views/storytime/dashboard/users/edit.html.erb in storytime-1.0.6
- old
+ new
@@ -1,8 +1,8 @@
<div class="container">
<h2><%= t('dashboard.users.edit_user_header') %></h2>
- <%= simple_form_for [:dashboard, @user] do |f| %>
+ <%= simple_form_for @user, :url => dashboard_user_path do |f| %>
<%= f.input :email %>
<%= f.input :storytime_name %>
<%= f.association :storytime_role, include_blank: true, label_method: :label %>
<%= f.submit class: "btn btn-info" %>
<% end %>
\ No newline at end of file