Gab Social. All are welcome.
This commit is contained in:
12
app/controllers/downloads_controller.rb
Normal file
12
app/controllers/downloads_controller.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class DownloadsController < ApplicationController
|
||||
layout 'public'
|
||||
|
||||
before_action :check_enabled
|
||||
|
||||
def source
|
||||
send_file Rails.root.join('public', 'src', 'gab-social.zip')
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user