Skip to content

Template not found #11

@RobWu

Description

@RobWu

Great product !

I want to keep the reports inside '/app/reports' instead of 'app/views'

I added append_view_path "#{Rails.root}/app/reports" inside controller, which works fine for "thinreports"-file. But Template can't be find.

Inside

ActionController::Base.view_paths.each do |view_path|
should it not also additional look into @_template_context.controller.view_paths to make sure it can find template in "#{Rails.root}/app/reports" too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions