Class CharacterPartsController
In: app/controllers/character_parts_controller.rb
Parent: ApplicationController

Methods

Protected Instance methods

[Source]

    # File app/controllers/character_parts_controller.rb, line 46
46:   def create_authorized?
47:     return is_authorized_as?(UserRole::USER_ROLE_ADMIN)
48:   end

[Source]

    # File app/controllers/character_parts_controller.rb, line 50
50:   def destroy_authorized?
51:     return is_authorized_as?(UserRole::USER_ROLE_ADMIN)
52:   end

[Source]

    # File app/controllers/character_parts_controller.rb, line 38
38:   def read_authorized?
39:     return is_authorized_as?(UserRole::USER_ROLE_USER)
40:   end

[Source]

    # File app/controllers/character_parts_controller.rb, line 34
34:   def search_authorized?
35:     return is_authorized_as?(UserRole::USER_ROLE_USER)
36:   end

[Source]

    # File app/controllers/character_parts_controller.rb, line 42
42:   def update_authorized?
43:     return is_authorized_as?(UserRole::USER_ROLE_USER)
44:   end

[Validate]