0

我正在使用 rails Action Mailer 并希望在邮件链接中发送链接:-

http://www.somehost/leaves/13/application

但给出了一些路由错误。

我的路线是-

resources :leaves do
  member do
    get 'delete_subject'
    get 'leave_approve_hr'#, :action => 'leave_approve'
    get 'leave_reject_hr'
    get 'leave_approve_tl'#, :action => 'leave_approve'
    get 'leave_reject_tl'
    get 'reject_approved_leaves_tl'
    get 'application'
  end
end

请帮忙。

4

0 回答 0