diff --git a/app/views/terms/show.html.erb b/app/views/terms/show.html.erb
index 8b3526d..090d887 100644
--- a/app/views/terms/show.html.erb
+++ b/app/views/terms/show.html.erb
@@ -73,7 +73,7 @@
else
"terms/#{part}"
end
- term_path = "dictionaries/#{dictionary.id}/#{term_path}" if dictionary.present?
+ term_path = "dictionaries/#{@dictionary.id}/#{term_path}" if @dictionary.present?
term_html += "#{part}"
else
@@ -104,7 +104,7 @@
else
"terms/#{part}"
end
- term_path = "dictionaries/#{dictionary.id}/#{term_path}" if dictionary.present?
+ term_path = "dictionaries/#{@dictionary.id}/#{term_path}" if @dictionary.present?
alt_html += "#{part}"
else
@@ -136,7 +136,7 @@
else
"terms/#{part}"
end
- term_path = "dictionaries/#{dictionary.id}/#{term_path}" if dictionary.present?
+ term_path = "dictionaries/#{@dictionary.id}/#{term_path}" if @dictionary.present?
ref_html += "#{part}"
else