Displaying 1 result from an estimated 1 matches for "department_student_url".
Did you mean:
departments_student_url
2008 Aug 01
2
REST error
Hi i given in routes.rb as
map.resources :students, :member => [:departments => :get]
and rhtml i given link
<td><%=link_to "Departments", departments_student_url(student)
%></td>
in students controller
def departments
@student= Student.find params[:id]
# @departments = @student.departments
end
when i click the departments link it showing error like