プロジェクト

全般

プロフィール

« | » 

リビジョン 3f7c9b0b

高徹 高橋 徹 さんが約6年前に追加

[phase-8]introduced security and authorization

差分を表示:

app/views/glossary_terms/index.html.erb
<h2><%=l :label_glossary_terms %></h2>
<div class="contextual">
<%= link_to l(:label_glossary_term_new), new_project_glossary_term_path, class: 'icon icon-add' %>
<%= link_to_if_authorized l(:label_glossary_term_new),
{ controller: :glossary_terms, action: :new, project_id: @project },
class: 'icon icon-add' %>
</div>
<%= render partial: 'sidebar' %>

他の形式にエクスポート: Unified diff