Closed neilabdev closed 9 years ago
Duplicate of issue 740, close it
Thank you, thought I closed this one already via https://github.com/browsermedia/browsercms/issues/740 which presented a solution to the problem, etc. But could have submitted two tickets, perhaps.
Not sure if this is a bug, but what I am experiencing is the inability to use a route defined in the routes.rb file from inside a partial or template accessed via the CMS (as apposed to directly to my controller which may access the same view). Perhaps the context in which the partial is executing is not the same as it would be for a normal view, thus can't find the route, as the necessary helpers may not be included? Not sure. Nevertheless, if this is the case, access would be helpful long term, but would settle for a means to access routes from in such a view that would also work outside BrowserCMS so the reference is uniform.
Here is my routes: