mirror of
https://github.com/github/codeql.git
synced 2026-01-07 11:40:27 +01:00
6 lines
209 B
Ruby
6 lines
209 B
Ruby
|
|
def setup_view_paths
|
|
view_path = Rails.root.join("/path/to/views")
|
|
pattern = ":prefix/:action{.:formats,}"
|
|
ActionController::Base.view_paths = ActionView::FileSystemResolver.new(view_path, pattern)
|
|
end |