Might be a typo? Your second code snippet has my_assset.png
On 5 October, 2014 9:47:23 AM PDT, Martin Trummer wrote:
>Hi @ all,
>
>In a rails application I have a nested module in my library:
>
>module Foo
> module Bar
>def foo_bar
> image_path("my_asset.png")
>e
Hi @ all,
In a rails application I have a nested module in my library:
module Foo
module Bar
def foo_bar
image_path("my_asset.png")
end
end
end
Within `foo_bar` i can use `image_path`, a rails helper, without any
problems. It finds the asset int the
2 matches
Mail list logo