Sha256: 2448b209069943baa6dd1e650b9bcc29518757d97b77d8ed6576d1e4ed1609c6
Contents?: true
Size: 355 Bytes
Versions: 1
Compression:
Stored size: 355 Bytes
Contents
- topic = params[:id] h1 | Topic #{topic} - if current_user.subscribe_topic?(topic) = link_to 'Remove subscription', subscribe_topic_path(topic), method: :delete, class: 'btn btn-warning' - else = link_to 'Follow it', subscribe_topic_path(topic), method: :post, class: 'btn btn-success' = render 'messages/index', messages: @messages
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
Xwitter-0.4.0 | app/views/topics/show.html.slim |