# File 'app/controllers/foreman_ipam/dashboard_controller.rb', line 5defipambegin@response=Phpipam.proxy.get_groupsrescue=>eflash.now[:notice]=e.messageendend
#subnets ⇒ Object
13
14
15
16
17
18
19
20
# File 'app/controllers/foreman_ipam/dashboard_controller.rb', line 13defsubnetsbegin@subnets=Phpipam.proxy.get_subnets_by_group(params[:group])rescue=>eflash.now[:notice]=e.messageendrender:json=>@subnets.to_json,:status=>:okend