You can always use the 'as' modifier

get 'monthly_reciept/new', as: 'new_monthly_receipt'

will give you the ability to use new_monthly_receipt_path

On Thursday, 2 July 2015 03:50:32 UTC+1, Padmahas Bn wrote:
>
> I cannot find this in rails guides and rake routes doesn't show any helper 
>> for this route because there is no one.
>>
>
> Sorry.
>
>  I copy pasted the route to the end so that I can find quickly but rake 
> seems not to list the helper repeatedly. I found the helper 
> monthly_receipt_new when I scrolled up
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/8cc567c1-d7ef-48ae-8f28-252854cdba57%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to