helpers: add ServiceHelper#formatted_horaires
This commit is contained in:
parent
c7d247e9a1
commit
ad57c6ef99
2 changed files with 6 additions and 1 deletions
5
app/helpers/service_helper.rb
Normal file
5
app/helpers/service_helper.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
module ServiceHelper
|
||||
def formatted_horaires(horaires)
|
||||
horaires.sub(/\S/, &:downcase)
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue