rgarcia
bb3c4c6399
adds consistency to ruby code style
...
Keep a blank line before and after private
Keep a blank line before and after protected
Remove extra empty line at class body end
Remove extra blank line
Add final newline
Use 2 (not 3) spaces for indentation
Use 2 (not 4) spaces for indentation
Remove space before comma
Add space after comma
Remove trailing whitespaces
Remove unnecessary spacing
Use snake_case for variable names
Do not use then for multi-line if
Remove unused block argument - i
Use the new Ruby 1.9 hash syntax
Remove unused assignment to variable
Indent when as deep as case
Align attributes
Align end with def
2016-11-15 11:18:43 +01:00
rgarcia
18dd9c95f3
fixes specs
2016-06-16 12:06:26 +02:00
Juanjo Bazán
2d4ac24465
adds missing param
2016-04-28 18:36:22 +02:00
Raimond Garcia
712e42ca9d
Merge pull request #1104 from consul/admin-access-to-management
...
Admin access to management
2016-04-28 16:55:10 +02:00
Juanjo Bazán
585f3dd6c7
removes use of current_user in management
...
favors managed_user
to avoid conflicts with logged admin users
2016-04-27 17:26:19 +02:00
kikito
dea1a28a69
purges simple_captcha
2016-04-27 16:07:47 +02:00
Juanjo Bazán
991b189610
refactors triplicated code
2016-04-08 12:16:09 +02:00
Raimond Garcia
2a4adc2e60
Merge pull request #817 from microweb10/friendly_urls
...
Friendly urls
2016-03-02 17:51:00 +01:00
rgarcia
dbc19090ed
cleans up
2016-01-26 12:13:29 +01:00
Julian Herrero
7c65b8555c
redirect to frendly url for debates and proposals if needed
2016-01-10 13:38:22 +01:00
kikito
cf31e89204
Fixes issues in moderation spex related with comment sort
2015-11-02 15:54:15 +01:00
kikito
d6396b38b6
Adds missing comments order in management controller
2015-10-28 17:34:51 +01:00
Juanjo Bazán
0ff9429b52
adds for_render to preload tags
2015-10-20 15:02:41 +02:00
rgarcia
8acd119b19
displays only the first 5 proposals to print
2015-10-20 14:45:59 +02:00
Juanjo Bazán
2a4495fd36
defaults proposal print list to confidence_score
2015-10-17 13:44:15 +02:00
rgarcia
db67eb5b23
redirects to managed user sign in path unless verified
2015-10-14 17:53:49 +02:00
rgarcia
dc93ea6dba
displays proposal created within management layout
2015-10-13 15:00:23 +02:00
rgarcia
bca26b2b50
changes current_user for managed_user
2015-10-13 13:58:01 +02:00
rgarcia
5feef066dc
adds managed user to session
2015-10-11 16:56:16 +02:00
rgarcia
96633327b5
adds missing translation
2015-10-08 18:35:04 +02:00
rgarcia
33ee1a159f
cleans up
2015-10-08 18:27:26 +02:00
rgarcia
36875f8211
brings back manager verification check
2015-10-08 18:25:21 +02:00
rgarcia
c21a78e164
checks for verified users when creating and voting proposals
2015-10-08 15:37:59 +02:00
rgarcia
5560c84b66
adds spec for manager print proposals
2015-10-08 14:56:27 +02:00
rgarcia
a3503c7eb3
refactors manager proposal votes
2015-10-08 14:40:47 +02:00
rgarcia
18e66160fe
adds manager creating proposals spec
2015-10-08 13:56:51 +02:00
rgarcia
015e57ddad
adds print of new proposals
2015-10-08 12:43:33 +02:00
rgarcia
0acdf5722b
adds creation of proposals by managers
2015-10-08 12:43:33 +02:00
rgarcia
33a3ece1c2
adds search for proposals
2015-10-08 12:43:32 +02:00
rgarcia
4881f5bd1e
basic proposal voting my managers
2015-10-08 12:43:32 +02:00
rgarcia
74b92ca317
tmp commit manager vote
2015-10-08 12:43:32 +02:00