AutoCommit Mon Aug 31 17:03:03 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-08-31 17:03:03 +02:00
parent 93dbdedf53
commit 589597509a
4 changed files with 36 additions and 16 deletions

View File

@@ -9,18 +9,17 @@ class FetprofilesController < ApplicationController
@fetprofiles = Fetprofile.order(:vorname,:nachname) if params[:filter]== "all"
@fetprofiles = Fetprofile.where(:active=>false).order(:nachname,:vorname) if params[:filter]== "notactive"
@gremientabs = Gremium.tabs
@toolbar_elements << {:hicon=>'icon-plus', :text=> I18n.t('profile.new_profile'),:path => new_fetprofile_path(@fetprofile) } if can? :new, @fetprofile
@toolbar_elements << {:hicon=>'icon-plus', :text=> I18n.t('profile.new_profile'),:path => new_fetprofile_path(@fetprofile) } if can? :new, @fetprofile
respond_to do |format|
format.html # index.html.erb
end
end
end
def internlist
@fetprofiles = Fetprofile.order(:vorname,:nachname)
end
end
# GET /fetprofiles/1
# GET /fetprofiles/1.json