diff options
| author | Xinhui | 2017-03-01 16:22:06 +0100 | 
|---|---|---|
| committer | Xinhui | 2017-03-01 16:22:19 +0100 | 
| commit | d29bb346b27e25616b68c29119985d9b7ef3cf5b (patch) | |
| tree | ee05874bf55bc5e8c8f736ac7090abc30fc9a00f /app/controllers/workbenches_controller.rb | |
| parent | c1b5903d9cc3143c5d026adf38e3b2d7ddcb125e (diff) | |
| download | chouette-core-d29bb346b27e25616b68c29119985d9b7ef3cf5b.tar.bz2 | |
Wip route for bulk referential delete
Diffstat (limited to 'app/controllers/workbenches_controller.rb')
| -rw-r--r-- | app/controllers/workbenches_controller.rb | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/app/controllers/workbenches_controller.rb b/app/controllers/workbenches_controller.rb index 1626ae039..8987c7b01 100644 --- a/app/controllers/workbenches_controller.rb +++ b/app/controllers/workbenches_controller.rb @@ -15,6 +15,11 @@ class WorkbenchesController < BreadcrumbController      end    end +  def delete_referentials +    ap params +    ap '-----------------' +  end +    private    def sort_column      Workbench.find(params[:id]).referentials.include?(params[:sort]) ? params[:sort] : 'name'  | 
