diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 7bb662b..3e02421 100755 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -40,15 +40,15 @@ def get_theme - if params[:theme]== "default" || params[:theme]=="2003" - params[:theme]="blue1" - end - if ThemesForRails.available_theme_names.include?(params[:theme]) - params[:theme] +# if params[:theme]== "default" || params[:theme]=="2003" +# params[:theme]="blue1" +# end +# if ThemesForRails.available_theme_names.include?(params[:theme]) +# params[:theme] -else +#else "blue1" -end +#end end def default_url_options {locale: I18n.locale, theme: (theme_name=="blue1") ? "default" : theme_name , ansicht: nil} diff --git a/app/views/gremien/show.html.erb b/app/views/gremien/show.html.erb index bf87c06..c660fa3 100644 --- a/app/views/gremien/show.html.erb +++ b/app/views/gremien/show.html.erb @@ -25,7 +25,7 @@ <% @memberships.each_slice(4) do |r| %>