hummingbird-me/kitsu-server

View on GitHub
app/policies/dramas_media_attribute_policy.rb

Summary

Maintainability
A
0 mins
Test Coverage
B
83%
class DramasMediaAttributePolicy < ApplicationPolicy
  administrated_by :database_mod

  def create?
    false
  end
  alias_method :update?, :create?
  alias_method :destroy?, :create?
end