RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

How To Change The View Path Of A Controller In Rails

This article describes how to manipulate the views paths in your Rails app. You will see how you can use to share a view directory with another controller or switch the base view path based on some variable such as a site name for a multi-tenant app. https://solidfoundationwebdev.com/blog/posts/how-to-change-the-view-path-of-a-controller-in-rails

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in