Javi Martín
db97f9d08c
Add and apply rubocop rules for empty lines
...
We were very inconsistent regarding these rules.
Personally I prefer no empty lines around blocks, clases, etc... as
recommended by the Ruby style guide [1], and they're the default values
in rubocop, so those are the settings I'm applying.
The exception is the `private` access modifier, since we were leaving
empty lines around it most of the time. That's the default rubocop rule
as well. Personally I don't have a strong preference about this one.
[1] https://rubystyle.guide/#empty-lines-around-bodies
2019-10-24 17:11:47 +02:00
Julian Herrero
b460c024f3
Use double quotes in app/helpers
2019-03-15 09:26:49 +01:00
Senén Rodero Rodríguez
c9a6630c94
Remove popup on follow buttons and remove uneeded code.
2017-07-19 17:51:45 +02:00
Senén Rodero Rodríguez
cba497b32e
Create new followables helper to have some methods previously on follows helper. Rename entity to followable.
2017-07-19 17:50:46 +02:00
rgarcia
b7ef755b16
minor refactoring for follows
2017-07-19 13:52:38 +02:00
Senén Rodero Rodríguez
57c8887077
Add method to follows helper to get followable partial name and arguments automatically.
2017-07-18 19:35:47 +02:00
Senén Rodero Rodríguez
249641fe23
Simpler code to get followable object icon.
2017-07-18 19:16:48 +02:00
Senén Rodero Rodríguez
36f9836e68
Use inflector methods instead of manual replacements.
2017-07-18 19:12:24 +02:00
taitus
7e2e94d709
Add following tab to user public page.
2017-07-13 20:29:34 +02:00
taitus
60e812c2e5
New texts and titles for followable buttons.
2017-07-07 13:38:53 +02:00
Senén Rodero Rodríguez
313b78978d
Add followable JS module. Refactor follow_helper and follow buttons partial.
2017-07-07 13:34:54 +02:00
Senén Rodero Rodríguez
1f22286e29
Create rspec shared examples to test followable features on any followable entity.
2017-07-07 13:34:54 +02:00
taitus
bce28afe36
Add followable to budget investment model.
2017-07-07 12:07:25 +02:00
Senén Rodero Rodríguez
84dbef16a4
Create followable concern, follow model. Add followable to proposal model.
2017-07-07 12:02:00 +02:00