Fix gigitty link
The modal didn't really work on mobiles. On mobiles you also need the schedule link because it's hard to point your mobile to a QR code on your mobile...
This commit is contained in:
parent
9df85e5ae4
commit
e6049adc52
7 changed files with 31 additions and 33 deletions
|
|
@ -43,9 +43,6 @@ class SchedulesController < ApplicationController
|
|||
end
|
||||
@selected_schedules_ids.compact!
|
||||
@event_schedules_by_room_id = event_schedules.select { |s| @selected_schedules_ids.include?(s.schedule_id) }.group_by(&:room_id)
|
||||
@qr_code = RQRCode::QRCode.new(conference_schedule_url).as_svg(offset: 20, color: '000',
|
||||
shape_rendering: 'crispEdges',
|
||||
module_size: 11)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
@ -63,6 +60,10 @@ class SchedulesController < ApplicationController
|
|||
@tag = day.strftime('%Y-%m-%d') if day
|
||||
end
|
||||
|
||||
def app
|
||||
@qr_code = RQRCode::QRCode.new(conference_schedule_url).as_svg(offset: 20, color: '000', shape_rendering: 'crispEdges', module_size: 11)
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def respond_to_options
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue