bugfix
This commit is contained in:
parent
4245703084
commit
0b96171aa3
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ class MetacodesController < ApplicationController
|
|||
def index
|
||||
@metacodes = Metacode.order("name").all
|
||||
@metacodes.map do |metacode|
|
||||
metacode.icon = asset_path(metacode.icon)
|
||||
metacode.icon = ActionController::Base.helpers.asset_path(metacode.icon)
|
||||
end
|
||||
|
||||
respond_to do |format|
|
||||
|
|
Loading…
Reference in a new issue