i have grouping administration controllers into module (admin) for
maintaining more order and logical structure.
then i have modified class controller:
class Admin::LocationsController < ApplicationController
…
end
i have created in views the directory “admin” and put the directory
“locations” into this.
i have setting the routes.rb:
…
map.namespace :admin do |admin|
admin.resources :locations
end
…
but i can’t access to CRUD pages
i don’t know the right sintax for modifing the link_to helper
help me