pagination bootstrap update layout

This commit is contained in:
2014-08-21 16:29:29 +05:30
parent bfb4d54244
commit c87ce13045
20 changed files with 129 additions and 54 deletions

View File

@@ -7,7 +7,7 @@ class ThemengruppenController < ApplicationController
@toolbar_elements = []
@toolbar_elements << {:icon=>:plus, :hicon=>'icon-plus-sign', :text=>I18n.t('themengruppe.new'), :path=>new_themengruppe_path()} if can? :new, Themengruppe
@toolbar_elements << {:icon=>:plus, :hicon=>'icon-plus-sign', :text=>I18n.t('themengruppe.manage_all'), :path=>verwalten_all_themengruppen_path()} if can? :verwalten_all, Themengruppe
respond_to do |format|
format.html # index.html.erb
format.json { render json: @themengruppen }