Displaying 1 result from an estimated 1 matches for "installedsoftwarescontroller".
2009 Feb 07
0
wice grid
...'name'',
:no_filter => true,
:model_class => Software do |isoftware|
isoftware.software.name
end
g.column do |isoftware|
link_to "Show", hardware_installed_softwares_path
(:hardware_id,isoftware)
end
end %>
here is controller view:
class InstalledSoftwaresController < ApplicationController
def index
# @hardware = Hardware.find(params[:hardware_id])
# @softwares = @hardware.find(:hardware_id).installed_softwares
@installed_softwares = initialize_grid(InstalledSoftware,
:include => :software,...