diff options
| author | cedricnjanga | 2018-02-13 07:58:47 -0800 | 
|---|---|---|
| committer | cedricnjanga | 2018-03-02 08:14:58 -0800 | 
| commit | c81b219024d1265f4cef0c5eb66fb12364f680be (patch) | |
| tree | 71b98c061f61525eec8e4844105d84075cea13d5 /app/policies | |
| parent | 0167831148ef5f60f27e9bd7e2d6bfaab33e87c6 (diff) | |
| download | chouette-core-c81b219024d1265f4cef0c5eb66fb12364f680be.tar.bz2 | |
Refs #3562 add workbench edit button on workbench#show
Diffstat (limited to 'app/policies')
| -rw-r--r-- | app/policies/workbench_policy.rb | 11 | 
1 files changed, 11 insertions, 0 deletions
| diff --git a/app/policies/workbench_policy.rb b/app/policies/workbench_policy.rb new file mode 100644 index 000000000..7b925e91a --- /dev/null +++ b/app/policies/workbench_policy.rb @@ -0,0 +1,11 @@ +class WorkbenchPolicy < ApplicationPolicy +  class Scope < Scope +    def resolve +      scope +    end +  end + +  def update? +    true +  end +end | 
