views:

8

answers:

0

I have a helper in my plugin test_plugin/lib/test_helper.rb:

module TestHelper
  def test_render
    render 'test_plugin/test_partial'
  end
end

I have a partial test_plugin/app/views/test_plugin/_test_partial.html.erb:

<p>Hello World!</p>

In my application app/views/tests/index.html.erb when I do this:

<%= test_render %>

I get the following error:

Missing partial test_plugin/test_partial with {:locale=>[:en, :en], :formats=>[:html], :handlers=>[:rjs, :rhtml, :haml, :builder, :rxml, :erb]} in view paths "/home/####/workspace/my_application/app/views"