ruby on rails - No routes matches, empty action -
i've got rails application inherited previous coder. generates sortable tables , has helper function sortable
sortable
ends this
link_to title, link, { :class => css_class, :"data-direction" => direction, :"data-sort" => column, :"data-page" => params[:page].to_i.zero? ? 1 : params[:page].to_i, :"data-title" => params[:title], :"data-search-id" => params[:search_id], :title => "sort `#{title}` #{direction}"}
link
conatins fields :sort
, :direction
when try create sortable table written controller i'm getting error (no route matches {:sort=>:company_name, :direction=>:asc, :controller=>"company"})
don't understand how code working on other controllers , fields controller
, action
Comments
Post a Comment