Add reroute middleware hack

This commit is contained in:
Wen-Tien Chang committed 2010-01-11 17:09:50 +08:00
1 parent 9f1ba2ae66
commit 314f6d5219
14 files changed
+65 -47

No files matched your search

@@ -1,3 +1,5 @@
<%= f.hidden_field :entry_name %>
<p id="title_zh_tw_block">
<%= f.label "title_zh_tw", "Title (zh_tw)" %>
<%= f.text_field "title_zh_tw" %>
+1 -1
View File
@@ -18,4 +18,4 @@
<br />
<%= link_to 'New announcement', new_admin_announcement_path %>
<%= link_to 'New announcement', new_admin_announcement_path( :entry_name => params[:entry_name] ) %>
+2 -2
View File
@@ -42,8 +42,8 @@
</p>
<p>
<%= f.label :is_component, "Is component" %>
<%= f.radio_button :is_component, true %>Yes <%= f.radio_button :is_component, false %> No
<%= f.label :component_name, "Component Name" %>
<%= f.text_field :component_name %>
</p>
<p>
+1 -1
View File
@@ -23,7 +23,7 @@
<li><%= link_to t(:page, :scope => :admin), admin_pages_path %></li>
<li><%= link_to t(:snippet, :scope => :admin), admin_snippets_path %></li>
<li><%= link_to t(:layout, :scope => :admin), admin_layouts_path %></li>
<li><%= link_to t(:announcement, :scope => :admin), admin_announcements_path %></li>
<li><%= link_to t(:announcement, :scope => :admin), admin_announcements_path( :entry_name => 'news' ) %></li>
</ul>
</div>