diff --git a/app/models/exercise_collection.rb b/app/models/exercise_collection.rb index f672554d..10946962 100644 --- a/app/models/exercise_collection.rb +++ b/app/models/exercise_collection.rb @@ -6,4 +6,4 @@ class ExerciseCollection < ActiveRecord::Base "#{I18n.t('activerecord.models.exercise_collection.one')}: #{name} (#{id})" end -end \ No newline at end of file +end diff --git a/app/views/exercise_collections/_form.html.slim b/app/views/exercise_collections/_form.html.slim index a8ebf0b2..5acfd466 100644 --- a/app/views/exercise_collections/_form.html.slim +++ b/app/views/exercise_collections/_form.html.slim @@ -8,4 +8,4 @@ .form-group = f.label(:exercises) = f.collection_select(:exercise_ids, exercises, :id, :title, {}, {class: 'form-control', multiple: true}) - .actions = render('shared/submit_button', f: f, object: @exercise_collection) \ No newline at end of file + .actions = render('shared/submit_button', f: f, object: @exercise_collection) diff --git a/app/views/exercise_collections/edit.html.slim b/app/views/exercise_collections/edit.html.slim index a3694a25..187f31d2 100644 --- a/app/views/exercise_collections/edit.html.slim +++ b/app/views/exercise_collections/edit.html.slim @@ -1,3 +1,3 @@ h1 = @exercise_collection -= render('form') \ No newline at end of file += render('form') diff --git a/app/views/exercise_collections/index.html.slim b/app/views/exercise_collections/index.html.slim index 98de8a20..75a9d011 100644 --- a/app/views/exercise_collections/index.html.slim +++ b/app/views/exercise_collections/index.html.slim @@ -21,4 +21,4 @@ h1 = ExerciseCollection.model_name.human(count: 2) td = link_to(t('shared.destroy'), collection, data: {confirm: t('shared.confirm_destroy')}, method: :delete) = render('shared/pagination', collection: @exercise_collections) -p = render('shared/new_button', model: ExerciseCollection) \ No newline at end of file +p = render('shared/new_button', model: ExerciseCollection) diff --git a/app/views/exercise_collections/new.html.slim b/app/views/exercise_collections/new.html.slim index 21a299f2..0e48ccd9 100644 --- a/app/views/exercise_collections/new.html.slim +++ b/app/views/exercise_collections/new.html.slim @@ -1,3 +1,3 @@ h1 = t('shared.new_model', model: ExerciseCollection.model_name.human) -= render('form') \ No newline at end of file += render('form') diff --git a/app/views/exercise_collections/show.html.slim b/app/views/exercise_collections/show.html.slim index ac2d0a37..65c28283 100644 --- a/app/views/exercise_collections/show.html.slim +++ b/app/views/exercise_collections/show.html.slim @@ -8,4 +8,4 @@ h1 h4 = t('activerecord.attributes.exercise_collections.exercises') ul.list-unstyled - @exercise_collection.exercises.sort_by{|c| c.title}.each do |exercise| - li = link_to(exercise, exercise) \ No newline at end of file + li = link_to(exercise, exercise)