diff --git a/app/controllers/stores_controller.rb b/app/controllers/stores_controller.rb index 634210d78..ea45acaec 100644 --- a/app/controllers/stores_controller.rb +++ b/app/controllers/stores_controller.rb @@ -30,6 +30,10 @@ class StoresController < ApplicationController limit(LIMIT) @attach_array = Array.new @attach_array.push(@projects_attach, @courses_attach, @homeworks_attach, @memos_attach) + @str_arr = [ l(:label_project_deposit), + l(:label_course_practice), + l(:label_contest_innovate), + l(:label_forum) ] end private diff --git a/app/views/stores/index.html.erb b/app/views/stores/index.html.erb index 165280691..4642e18c2 100644 --- a/app/views/stores/index.html.erb +++ b/app/views/stores/index.html.erb @@ -74,7 +74,7 @@ <% @attach_array.each do |k|%>
- c + <%=@str_arr.shift%>