pundit: convert pools to pundit.
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
class PoolOrdersController < ApplicationController
|
||||
respond_to :html, :xml, :json, :js
|
||||
before_action :member_only
|
||||
|
||||
def edit
|
||||
@pool = Pool.find(params[:pool_id])
|
||||
@pool = authorize Pool.find(params[:pool_id])
|
||||
respond_with(@pool)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user