I am using Rails 3 with dhtmlxGrid. I have created a controller called admin in that we defined 3 functions, such as view,data
dhtmlxGrid
admin
view
data
Try changing the name of your controller to AdminsController. Rails seems to prefer plural controller names.