Guest94912

Activity Graph

Page 1 of 1

2017-03-30

[10:45:03] Guest94912: has joined #RubyOnRails
[10:46:17] Guest94912: I had create two method on my controller publish and unpublish. I add the methods on my route but I have a problem. Only one can work.
[10:46:28] Guest94912: post 'posts/:id', to: 'posts#unpublish', as: 'unpublish' post 'posts/:id',to: 'posts#publish', as: 'publish'
[10:49:54] Guest94912: What can i do ?
[11:05:18] Guest94912: Quit: Page closed