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
|
def index
|
||||||
@metacodes = Metacode.order("name").all
|
@metacodes = Metacode.order("name").all
|
||||||
@metacodes.map do |metacode|
|
@metacodes.map do |metacode|
|
||||||
metacode.icon = asset_path(metacode.icon)
|
metacode.icon = ActionController::Base.helpers.asset_path(metacode.icon)
|
||||||
end
|
end
|
||||||
|
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
|
|
Loading…
Reference in a new issue