mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Rubocop autocorrections
This commit is contained in:
parent
299738f58d
commit
43bef689fc
85 changed files with 622 additions and 578 deletions
|
|
@ -32,7 +32,7 @@ module Admin
|
|||
|
||||
def show
|
||||
@event_schedules = @schedule.event_schedules.eager_load(
|
||||
room: :tracks,
|
||||
room: :tracks,
|
||||
event: [
|
||||
:difficulty_level,
|
||||
:track,
|
||||
|
|
|
|||
|
|
@ -57,6 +57,7 @@ module Admin
|
|||
|
||||
def sponsorship_level_required
|
||||
return unless @conference.sponsorship_levels.empty?
|
||||
|
||||
redirect_to admin_conference_sponsorship_levels_path(conference_id: @conference.short_title),
|
||||
alert: 'You need to create atleast one sponsorship level to add a sponsor'
|
||||
end
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ module Admin
|
|||
@conferences_with_role.uniq!
|
||||
|
||||
return if @conference.blank?
|
||||
|
||||
@versions = PaperTrail::Version.where(conference_id: @conference.id).accessible_by(current_ability)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue