aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/shared/sidebar/_search.html.haml
diff options
context:
space:
mode:
authorre4k <re4k@re4k.info>2013-04-30 23:09:54 +0900
committerre4k <re4k@re4k.info>2013-04-30 23:09:54 +0900
commit10c7c723c16d757b5a5692542911a08715966b6f (patch)
tree995d9b184bc5f9dc9d3d5819c723d62478e29784 /app/views/shared/sidebar/_search.html.haml
parent617c786764e4c10d85c87945a6c281061e65dcc8 (diff)
downloadaclog-10c7c723c16d757b5a5692542911a08715966b6f.tar.gz
refactor (not tested, no compatibility)
Diffstat (limited to 'app/views/shared/sidebar/_search.html.haml')
-rw-r--r--app/views/shared/sidebar/_search.html.haml13
1 files changed, 1 insertions, 12 deletions
diff --git a/app/views/shared/sidebar/_search.html.haml b/app/views/shared/sidebar/_search.html.haml
index fe298ac..774d930 100644
--- a/app/views/shared/sidebar/_search.html.haml
+++ b/app/views/shared/sidebar/_search.html.haml
@@ -1,12 +1 @@
-%ul.nav.nav-tabs.nav-stacked
- %li
- = link_to "about", controller: "main", action: "about"
- %li
- = link_to "api", controller: "main", action: "api"
-%ul.nav.nav-tabs.nav-stacked
- %li
- = link_to "best", controller: "i", action: "best"
- %li
- = link_to "recent", controller: "i", action: "recent"
- %li
- = link_to "timeline", controller: "i", action: "timeline"
+= render "shared/sidebar/i"