toto icon indicating copy to clipboard operation
toto copied to clipboard

Missing ActionView helpers

Open drkhdr opened this issue 15 years ago • 1 comments

I find that unlike views in my main app, the views in the Toto app that I've integrated do NOT support typical RoR helpers (like e.g. stylesheet_link_tag). Is that on purpose / by design? If not, can it be changed?

drkhdr avatar Aug 20 '10 09:08 drkhdr

Toto, is not Rails based application so it does not share it's helpers. But I guess you can try "include" desired helpers, e.g. (the dumbest way):

module Toto
  module Template
    include ActionView::Helpers
  end
end

ixti avatar Aug 13 '11 20:08 ixti