Auto refresh unless my turn
This commit is contained in:
parent
929185dc2c
commit
af24c7f9c9
@ -5,6 +5,7 @@
|
||||
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
|
||||
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
|
||||
<%= csrf_meta_tags %>
|
||||
<%= yield :head %>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
- unless current_user.soft_token == @game.controlling_player.soft_token
|
||||
- content_for :head do
|
||||
%meta{:content => "5", "http-equiv" => "refresh"}/
|
||||
- if policy(@table).update?
|
||||
.owner-controls
|
||||
= link_to 'Edit', edit_table_path(@table)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user