Skip to content

Commit

Permalink
Merge pull request #457 from commercekitchen/format_fixes
Browse files Browse the repository at this point in the history
Conform to preferred formatting guidelines
  • Loading branch information
tmichaelreis authored Jun 12, 2020
2 parents d8d4e50 + c0129ee commit ed4b340
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/models/organization.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ def clean_up_paperclip_errors
end

def assignable_roles
default_roles = ['Admin', 'User', 'Trainer']
default_roles = %w[Admin User Trainer]

if student_programs?
default_roles + ['Student', 'Parent']
default_roles + %w[Student Parent]
else
default_roles
end
Expand Down

0 comments on commit ed4b340

Please sign in to comment.