Merge branch 'feature/pundit' into feature/api.pundit

This commit is contained in:
Connor Turland 2016-03-12 11:49:41 +11:00
commit a78312f90c

View file

@ -1,6 +1,5 @@
class MapsController < ApplicationController
before_action :require_user, only: [:create, :update, :screenshot, :destroy]
after_action :verify_authorized, except: [:activemaps, :featuredmaps, :mymaps, :usermaps]
after_action :verify_policy_scoped, only: [:activemaps, :featuredmaps, :mymaps, :usermaps]