Displaying 1 result from an estimated 1 matches for "o_systems".
Did you mean:
o_system
2009 Aug 07
4
ActionController::UnknownAction (No action responded to 22.
...have a resource-based controller. See controller
class Admin::OSystemsController < Admin::BaseController
def index
.......
end
def edit
.........
end
def update
..........
end
end
Resource is added to routes.rb like
map.namespace :admin do |admin|
............
admin.resources :o_systems, :only => [:index, :edit, :update]
............
end
I go to edit page (see view)
.........
<% form_for([:admin, @o_system]) do |f| %>
<%= f.error_messages %>
.............
<% end %>
I press submit and exception is thrown:
[b]ActionController::UnknownAction (No action resp...