Hi,
I have a licenses controller. Other than a new method, i have a new_trial_license method.
The link implementation for the new_trial_license method looks like:
Hi,
I have a licenses controller. Other than a new method, i have a new_trial_license method.
The link implementation for the new_trial_license method looks like:
Hi,
I have a licenses controller. Other than a new method, i have a new_trial_license method.
The link implementation for the new_trial_license method looks like: --------------------------------------------------------------------------- ----------- <%= link_to 'New Trial license', :action => "new_trial_license" %>
The link shows up as i expectedhttp://localhost:3000/licenses/new_trial_license
If you are useing restful routes (ie you have map.resources :licenses in routes.rb) then you need to add this new action to routes.rb (see map.resources' :collection option)
Fred
Thanks Fred
Regards, Vimal Das