1. William Roush
  2. Redmine Inline Attach Screenshot
Issue #5 resolved

Wrong paths in _form.rhtml

aceman3000
created an issue

When i clone your plugin from bitbucket the directory is named "redmine-inline-attach-screenshot" but in app/views/attachments/_form.html the paths are wrong {{{

!ruby

<% content_for :header_tags do %> <%= stylesheet_link_tag 'attach_screenshot', :plugin => 'redmine_attach_screenshot' %> <%= javascript_include_tag 'attach_screenshot', :plugin => 'redmine_attach_screenshot' %> <% end %>

}}}

and {{{

!ruby

'<applet codebase="<%= url_for(:only_path => false, :controller => 'welcome')%>plugin_assets/redmine_attach_screenshot/javascripts/" code="com.axmor.redmine.uploader.Uploader.class"

}}}

I changed that in my file to the correct path "redmine-inline-attach-screenshot" but now i get errors when i try to "attach". Please see my other issue for that.

Comments (3)

  1. Log in to comment