Sorry, it's not the typo. I changed the example.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rubyonrails-t
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
3 matches
Mail list logo