Michael Ball
|
258a2c1489
|
Fix Frozen String Error in Commercials Controller
`errors_text` is a frozen string, so `<<` leads to an exception when trying to generate the error message.
https://sentry.cs10.org/share/issue/7867fdaf8eba4387ae2789fd5f1cff3b/
if you want a production example. :)
|
2021-03-06 21:40:25 +01:00 |
|
Ana María Martínez Gómez
|
b8013661a2
|
Use render plain instead text
`render text` is deprecated and it has been remvoed from Rails 5.1.
|
2019-05-13 17:15:31 +02:00 |
|
Ana María Martínez Gómez
|
41d6fad7a5
|
s/redirect_to :back/redirect_back/
`redirect_to` has been removed in Rails 5.1 in favor of:
```
redirect_back(fallback_location: root_path)
```
|
2019-05-05 09:40:50 +02:00 |
|
James Mason
|
6d31dfeef4
|
Add frozen_string_literal magic comment
re: https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/FrozenStringLiteralComment
|
2018-05-09 06:54:26 -07:00 |
|
AnkushMalik
|
913210347f
|
Add error msg for null file while Adding Commercial for event
Null file error message added for uploading empty file in CommercialsController#mass_upload
Closes #1959
|
2018-03-02 11:36:52 -08:00 |
|
Stella Rouzi
|
32fa0bde6b
|
Add mass import of commercials
Fix #1055
|
2017-12-12 12:23:16 +02:00 |
|
nasia
|
a6e8283bcf
|
Fix commercial option for users in dashboard#show #1390
|
2017-04-24 10:16:39 +03:00 |
|
Nishanth Vijayan
|
434eb90b76
|
Add flash type error.Rewrite controllers to use common flash style with redirect_to
|
2016-03-16 09:17:41 +05:30 |
|
chrisbr
|
23664119bd
|
Implement simplified commercials workflow
It's now possible to simply enter the url of the third party provider to enter a commercial.
|
2016-01-21 19:41:12 +01:00 |
|
Stella Rouzi
|
355ecc0ac6
|
Introduce strong parameters
|
2015-12-23 11:36:50 +02:00 |
|
Stella
|
d44e1f7c24
|
flash alert to flash error
|
2014-11-30 15:41:47 +02:00 |
|
Stella Rouzi
|
46aed52c85
|
commercials
|
2014-09-03 00:18:45 +03:00 |
|
Stella Rouzi
|
17ebad413e
|
base controller
Conflicts:
app/controllers/admin/commercials_controller.rb
app/controllers/admin/questions_controller.rb
app/controllers/admin/users_controller.rb
|
2014-08-14 11:36:07 +03:00 |
|
Stella Rouzi
|
beb88b848d
|
changes from comments, fix commercials failing test
|
2014-08-13 22:53:15 +03:00 |
|
Stella Rouzi
|
f169049003
|
write in 1 single line actions with no body
Conflicts:
app/controllers/admin/contacts_controller.rb
|
2014-08-13 22:53:14 +03:00 |
|
Stella Rouzi
|
e2fb434dc7
|
Implement role authorization
|
2014-08-13 22:53:13 +03:00 |
|
Stella Rouzi
|
e06e0a5ca3
|
more style fixes
|
2014-08-07 07:42:22 +03:00 |
|
Chrisbr
|
2a731e8350
|
Refactoring Conference/Event media to new media object
close #420
|
2014-08-06 14:30:50 +02:00 |
|