urlhelper
Using an extension of UrlHelper without reference in chtml page
I have an extension of UrlHelper, I\'ll use on every page chtml. Do I have any way to refer to this extension without having to do it by using?[详细]
2023-04-12 09:44 分类:问答Use Rails path helpers from inside an plain old ruby class? (Resque job)
I need to make some API calls from inside a Resque job (which is just a plain old Ruby class) and those API calls need to include URLs to resources on my site.[详细]
2023-04-07 22:56 分类:问答Rails 3 - URL Helpers With Scoped Resource
I have a scoped resource in my routes file: scope :module => \"physical\" do resources :mymodels end Using \'> rake routes\' I get the standard routes, including:[详细]
2023-04-06 15:10 分类:问答How to write nested functions in UrlHelper?
I\'m writting a UrlHelper and now I need to write a nested function because for example I have page Articles which is accessed for everyone and I have separate Articles in Admin panel.[详细]
2023-03-28 23:27 分类:问答Url helper for full url in asp.net mvc-3
Writing @Url.Content(\"~/Something/Something.html\") in razor renders /AppFolder/Something/Something.html[详细]
2023-03-28 11:24 分类:问答namespaces and rails routes
I have a routing like that: namespace :folio do resources :portfolios do resources :portfolio_items do resources :images[详细]
2023-03-14 15:29 分类:问答Using Url.Action with no route values truncates the URL
I\'ve got a site that\'s using making heavy use of AJAX, and in-order to keep things like Urls in a sensible place, I\'m outputting the required Urls in a script block on the page, and then using them[详细]
2023-03-08 00:29 分类:问答in asp.net-mvc controller, what is the best way to generate a URL
right now i take the RequestContext and p开发者_运维问答ass this into a UrlHelper like this: UrlHelper u = new UrlHelper(context);[详细]
2023-03-01 01:11 分类:问答what is the right 'rails' way to add a link_to a new custom method
We\'re adding a new method \'delete_stuff\' to the WidgetsController of a scaffolded app. in routes we added[详细]
2023-02-12 05:05 分类:问答How can I automatically submit the Facebook URL sharer form?
I am trying to figure out, how can I automatically submit a url at 开发者_StackOverflow社区the following page[详细]
2023-01-17 08:25 分类:问答