summaryrefslogtreecommitdiff
path: root/helper.rb
diff options
context:
space:
mode:
authormr <mr@mrautenberg.de>2011-10-17 10:04:44 +0200
committermr <mr@mrautenberg.de>2011-10-17 10:04:44 +0200
commit5147b37a3285a231d8c938c3baf2f216a3b7f197 (patch)
treea1b15847651c4968cdd3ae7b1bfbc81f25c825b7 /helper.rb
parentab78958d59f7d7d2526ea7a9e997f9afd2a61cc0 (diff)
model sorting for endpoints| pager for models
Diffstat (limited to 'helper.rb')
-rw-r--r--helper.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/helper.rb b/helper.rb
index f45e349..11f99f7 100644
--- a/helper.rb
+++ b/helper.rb
@@ -96,6 +96,11 @@ helpers do
haml :models_navigation, :layout => false
end
+ def models_navigation_bottom
+ @page = 0 unless @page
+ haml :models_navigation_bottom, :layout => false
+ end
+
def endpoint_option_list(max_time=3600)
out = ""
tmpfile = File.join(TMP_DIR, 'endpoint_option_list')