The problem of sending messages through mailer, and how to solve?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
16 views
Did the sending of a message with the form mailer, form is static on each page of the application when sent from the home page: localhost:3000/#modal, everything works fine, but when I turn on any post, when sending messages of a route:
5aeab3c482ad4041139869.png
This error occurs with data by:
localhost:3000/posts/34#modal
Here is the routes:
get 'sends/index'
get 'zams/index'
Controller:
5aeab45501977480619442.png
Mailer himself:
5aeab4869f897073660904.png
by | 16 views

1 Answer

0 like 0 dislike
Most likely the link is not correct - a tag needs to be a way not 'zams/index', a '/zams/index'
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
110,608 questions
257,187 answers
0 comments
40,796 users