Skip to content

Commit b5466d2

Browse files
author
skovic
committed
Update GuestDeviceController to only display network devices on the list view
1 parent 4b43c4e commit b5466d2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/controllers/guest_device_controller.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,9 @@ def set_session_data
3535
session[:layout] = @layout
3636
session[:guest_device_lastaction] = @lastaction
3737
end
38+
39+
def show_list
40+
options = {:model => "GuestDevice", :named_scope => [:with_ethernet_type]}
41+
process_show_list(options)
42+
end
3843
end

0 commit comments

Comments
 (0)