forked from fixin.me/fixin.me
9 lines
182 B
Ruby
9 lines
182 B
Ruby
class Units::DefaultsController < ApplicationController
|
|
before_action except: :index do
|
|
raise AccessForbidden unless current_user.at_least(:admin)
|
|
end
|
|
|
|
def index
|
|
end
|
|
end
|