Welcome Guest, Not a member yet? Register   Sign In
Call BaseController custom function in view

If I were doing this, I'd add it to a config file. It's not something that changes on a per-controller basis, I wouldn't think so a config setting makes the most sense. If you did need to change it on a per-controller basis, make it an argument to to helper, and pass it in when you call it in the view.

Theme © iAndrew 2016 - Forum software by © MyBB