Skip to content

Commit

Permalink
Enable grid as view model for policy assignemnt screens
Browse files Browse the repository at this point in the history
  • Loading branch information
karelhala committed Mar 9, 2018
1 parent 0b11ca4 commit 4f90258
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/application_controller/policy_support.rb
Expand Up @@ -3,6 +3,7 @@ module ApplicationController::PolicySupport

# Assign/unassign policies to/from a set of objects
def protect
@gtl_type = "grid"
@display = nil
@edit = session[:edit]
profile_id = params[:id].to_i
Expand Down

0 comments on commit 4f90258

Please sign in to comment.