app/views/activities/_status_update.html.erb in muck-activities-0.1.14 vs app/views/activities/_status_update.html.erb in muck-activities-0.1.15
- old
+ new
@@ -1,10 +1,10 @@
<div id="status-update">
<%= output_errors(t('muck.users.problem_with_status'), {:class => 'help-box'}, @activity) %>
<% remote_form_for(:activity,
- :url => activities_path(:parent_id => activities_object, :parent_type => activities_object.type, :format => 'js'),
+ :url => activities_path(:parent_id => activities_object, :parent_type => activities_object.class, :format => 'js'),
:html => { :id => 'status_update_form', :class => 'clear',
- :action => activities_path(:parent_id => activities_object, :parent_type => activities_object.type) } ) do |f| -%>
+ :action => activities_path(:parent_id => activities_object, :parent_type => activities_object.class) } ) do |f| -%>
<div id="progress-bar" style="display:none;">
<h3><%= t('muck.activities.updating_status_message') %></h3>
<img src="/images/loading.gif" alt="progress bar">
</div>
<div id="status-update-field" class="status-update-dim">
\ No newline at end of file