With version 0.5.2 I suddenly get missing template errors with code that works perfectly fine with 0.5.1
Catching the exception I see that the :axslx handler is missing but could not figure out why and how to fix this:
ActionView::MissingTemplate
Missing template my_class/index, application/index with {
:locale=>[:en],
:formats=>[:xlsx],
:variants=>[],
:handlers=>[:erb, :builder, :raw, :ruby, :jbuilder, :rsb]
}
My controller code looks like this:
respond_to do |format|
format.html { render :template => 'my_class/index', :layout => !request.xhr? }
format.api
format.xlsx { render :filename => "my_class.xlsx" }
end
I am using the gem in different Redmine configurations:
- Redmine 3.2.0, Ruby 2.2.5, Rails 4.2.5.1
- Redmine 3.3.3, Ruby 2.3.1, Rails 4.2.7.1
Common is
- axlsx (2.1.0.pre a2259b0)
- axlsx_rails (0.5.2)
any hints welcome...
With version 0.5.2 I suddenly get missing template errors with code that works perfectly fine with 0.5.1
Catching the exception I see that the :axslx handler is missing but could not figure out why and how to fix this:
My controller code looks like this:
I am using the gem in different Redmine configurations:
Common is
any hints welcome...