diff --git a/app/controllers/attachments_controller.rb b/app/controllers/attachments_controller.rb index 62bef8fb1..2d5149c09 100644 --- a/app/controllers/attachments_controller.rb +++ b/app/controllers/attachments_controller.rb @@ -361,7 +361,7 @@ private def login_without_softapplication referer = request.headers['Referer'] - require_login unless referer =~ /softapplication/ || referer =~ /memos/ + require_login unless referer =~ /softapplication/ || @attachment.container_type == "Memo" end def renderTag diff --git a/app/views/contests/index.html.erb b/app/views/contests/index.html.erb deleted file mode 100644 index 293715c62..000000000 --- a/app/views/contests/index.html.erb +++ /dev/null @@ -1,53 +0,0 @@ -
<%= l(:label_contest_innovate) %> | -<%= l(:label_user_location) %> : | -- <% if User.current.logged? %> - <% unless User.current.user_extensions.identity == 1 %> - - <%= link_to(l(:label_newtype_contest), new_contest_contests_path, :class => 'icon icon-add', :target => "_blank") %> - <% end %> - <% end %> - | -
-
- <%= text_field_tag 'name', params[:name], :size => 30 %>
- <%= hidden_field_tag 'project_type', params[:project_type] %>
- <%= submit_tag l(:label_search),
- :class => "enterprise",
- :name => "contests_search"
- %>
-
- |
-
- - <%= link_to request.host()+"/contests", contests_path %> - - | -- <%=link_to l(:field_homepage), home_path %> > - <%=link_to l(:label_contest_innovate), contests_path %> - <%=link_to l(:label_contest_innovate), :controller => 'contests', :action => 'index' %> - | -
+ | -+ | -+ | -+ | -<%=h review.line %> | -<%=h review.revision %> | -<%=h review.committer %> | -<%=h review.user.name %> | -<%=h format_time(review.created_at) %> | + + + + +