Partials and config.load_paths

MaddyTheGoose
Wed, 07 May 2008 13:26:56 -0000

Is it possible to define a sub directory in the views folder to put
partials? In my config.load_paths in the environment.rb I''ve added an
entry to the effect of "config.load_paths += %W( #{RAILS_ROOT}/app/
views/my_item/my_partials )" where I''ve placed partials but they
can''t
be found when referencing them from the views/my_item.rhtml file. Am I
missing something? (it works fine when I place the partials in the
same directory as my_item.rhtml file)