Skip to content

Commit

Permalink
Improve code readability
Browse files Browse the repository at this point in the history
  • Loading branch information
renanbona committed Feb 25, 2019
1 parent 744b444 commit 6ea95c6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
CLOUDINARY_URL=cloudinary://username:password@localhost
CLOUDINARY_UPLOAD_PRESET=
MAILER_SENDER=noreply@localhost
MAIN_HOST=localhost:3000
MEMCACHIER_SERVERS=localhost:11211
Expand Down
7 changes: 6 additions & 1 deletion app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
module ApplicationHelper
def team_logo(image_path)
cl_image_tag(image_path, width: 32, height: 32, crop: :fill, radius: 5, border: '1px_solid_black')
cl_image_tag(image_path,
width: 32,
height: 32,
crop: :fill,
radius: 5,
border: '1px_solid_black')
end
end

0 comments on commit 6ea95c6

Please sign in to comment.