-
-
Notifications
You must be signed in to change notification settings - Fork 392
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't delegate preview methods to controller.
The controller will try to load the Election from the params but when rendering an election that's the single one in a voting there are no params. Instead, it's better to use the model in the cell.
- Loading branch information
Showing
3 changed files
with
30 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -858,7 +858,7 @@ DEPENDENCIES | |
web-console (~> 4.2) | ||
|
||
RUBY VERSION | ||
ruby 2.7.5p203 | ||
ruby 2.7.2p137 | ||
|
||
BUNDLED WITH | ||
2.2.31 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters