Commit 3c9fce517bfee8464e07ed3ea71a717acc7e6405
Committed by
Rafael Manzo
1 parent
d79ced99
Exists in
colab
and in
4 other branches
Fixed no_readings partial.
Changed @reading_group.id to @reading_group_id.
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
app/views/mezuro_ranges/_no_readings.html.erb
| @@ -5,9 +5,9 @@ | @@ -5,9 +5,9 @@ | ||
| 5 | You need to create reading in your associeated reading group before create a range | 5 | You need to create reading in your associeated reading group before create a range |
| 6 | </p> | 6 | </p> |
| 7 | <p> | 7 | <p> |
| 8 | - <% if reading_groups_owner? @reading_group.id %> | 8 | + <% if reading_groups_owner? @reading_group_id %> |
| 9 | 9 | ||
| 10 | - <%= link_to 'Create New Reading', new_reading_group_reading_path(@reading_group,), class: 'btn btn-danger' %> | 10 | + <%= link_to 'Create New Reading', new_reading_group_reading_path(@reading_group_id), class: 'btn btn-danger' %> |
| 11 | 11 | ||
| 12 | <% else %> | 12 | <% else %> |
| 13 | 13 | ||
| @@ -20,4 +20,4 @@ | @@ -20,4 +20,4 @@ | ||
| 20 | <% end %> | 20 | <% end %> |
| 21 | </p> | 21 | </p> |
| 22 | 22 | ||
| 23 | -</div> | ||
| 24 | \ No newline at end of file | 23 | \ No newline at end of file |
| 24 | +</div> |