Javi Martín
38b7307450
Use respond_to? instead of try
...
Usually when we use `try` we actually mean `try!`, which is the same as
the safe navigation operator. However, there are a few cases where we
actually mean to execute a method if the object responds to that method.
In those cases using `try` would actually be OK, but in order to avoid
confusion as to whether we mean to check for `respond_to?` or we mean to
use safe navigation, I'm removing all usages of `try`.
2019-10-22 17:37:51 +02:00
Javi Martín
4e72d9f3b7
Remove useless assignments to return values
2019-09-25 12:43:44 +02:00
Javi Martín
e252d82cdb
Apply IndentationWidth rubocop rule
2019-09-10 20:02:15 +02:00
Julian Herrero
b460c024f3
Use double quotes in app/helpers
2019-03-15 09:26:49 +01:00
decabeza
0bf31bde6c
Updates all active to is-active classes
2018-06-06 12:02:13 +02:00
Bertocq
7b40c84166
Rubocop fixes and rubocop todo update for those that can't be done right now
2017-10-17 22:23:53 +02:00
Bertocq
ce0a7f6fad
Rubocop autocorrections
2017-10-17 22:00:00 +02:00
decabeza
599c243f62
removes unnecessary helper for welcome page
2017-10-13 18:58:58 +02:00
Senén Rodero Rodríguez
92c774cdeb
Merge with master
2017-09-28 13:36:20 +02:00
taitus
b4a6f664bb
Remove image by default on carousel. Remove duplicate code. Add background when user recomendations is actived
2017-09-05 19:11:32 +02:00
taitus
52e3610876
Minimum required by consul core. Remove comments. Fix texts. Decrease size of methods.
2017-08-02 00:15:03 +02:00
taitus
11395e0b27
Remove old code. Add whitespaces.
2017-08-01 16:48:42 +02:00
taitus
c6a9ffc19c
Remove recommended investments
2017-08-01 16:28:01 +02:00
taitus
b6d5be3df0
Rename dynamic display to carousel size
2017-08-01 16:28:01 +02:00
taitus
ee0a10855d
Calculate carousel size.
2017-08-01 16:28:01 +02:00
taitus
fd8e2c1503
Allow to display images on carousel partial.
2017-08-01 16:28:01 +02:00
taitus
f8c6422b30
Testing links on carousel. Improve tests descripions
2017-08-01 16:28:01 +02:00
taitus
522c4e2cfc
Regroup all carousels on 1 partial. Rename partial
2017-08-01 16:28:01 +02:00
taitus
ff6471982c
Add recommended debates, proposals and investement to Home page.
2017-08-01 15:48:21 +02:00