{"action":"closed","issue":{"url":"https://api.github.com/repos/ageweke/fortitude/issues/45","repository_url":"https://api.github.com/repos/ageweke/fortitude","labels_url":"https://api.github.com/repos/ageweke/fortitude/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/ageweke/fortitude/issues/45/comments","events_url":"https://api.github.com/repos/ageweke/fortitude/issues/45/events","html_url":"https://github.com/ageweke/fortitude/issues/45","id":157788919,"number":45,"title":"use controller.view_paths to resolve view paths when calculating widget_class_from_file","user":{"login":"leafo","id":15198,"avatar_url":"https://avatars.githubusercontent.com/u/15198?v=3","gravatar_id":"","url":"https://api.github.com/users/leafo","html_url":"https://github.com/leafo","followers_url":"https://api.github.com/users/leafo/followers","following_url":"https://api.github.com/users/leafo/following{/other_user}","gists_url":"https://api.github.com/users/leafo/gists{/gist_id}","starred_url":"https://api.github.com/users/leafo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leafo/subscriptions","organizations_url":"https://api.github.com/users/leafo/orgs","repos_url":"https://api.github.com/users/leafo/repos","events_url":"https://api.github.com/users/leafo/events{/privacy}","received_events_url":"https://api.github.com/users/leafo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-05-31T22:57:05Z","updated_at":"2016-10-12T23:25:13Z","closed_at":"2016-10-12T23:25:13Z","body":"in `fortitude/lib/fortitude/rails/template_handler.rb` you have `Rails.application.paths['app/views']`, which only searches path set via the configuration, and not ones added added at request time like those from `prepend_view_path`\r\n\r\n`view_paths` can be used to get all the paths: http://api.rubyonrails.org/classes/ActionView/ViewPaths/ClassMethods.html#method-i-view_paths\r\n\r\nThe only issue with this is that it must be called in a request context, so the `TemplateHandler`'s call method needs to be updated to do the look up at render time."}}
{"actor":{"display_login":"ageweke"}}