Skip to content

Commit 6629a8d

Browse files
committed
Remove gallery controller and link Flickr group
The gallery controller was embedding the same Flickr gallery via a Adobe Flash plugin, which is no longer a thing in 2022.
1 parent 205c8cd commit 6629a8d

File tree

11 files changed

+2
-293
lines changed

11 files changed

+2
-293
lines changed

.gitignore

-3
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ en.pak
3737
# Ignore sphinx autogenerated configs
3838
/config/*.sphinx.conf
3939

40-
# Ignore the gallery files
41-
/public/gallery/*
42-
/public/gallery/.thumbnails/*
4340
/public/system/*
4441
/storage/*
4542

app/assets/images/swipebox/icons.png

-729 Bytes
Binary file not shown.

app/assets/images/swipebox/icons.svg

-1
This file was deleted.

app/assets/images/swipebox/loader.gif

-2.55 KB
Binary file not shown.

app/assets/javascripts/application.js

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
//= require jquery-hotkeys
1818
//= require bootstrap
1919
//= require selectize
20-
//= require jquery.table-filter.js
2120
//= require holder.js
2221

2322
// to store clicked link

app/assets/stylesheets/application.css

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
*= require webfonts.css
1414
*= require selectize
1515
*= require selectize.bootstrap3
16-
*= require swipebox.css
1716
*= require hackweek.css
1817
*= require jquery.atwho
1918
*= require comments.css

app/assets/stylesheets/swipebox.css.scss

-264
This file was deleted.

app/controllers/gallery_controller.rb

-5
This file was deleted.

app/views/gallery/index.html.haml

-14
This file was deleted.

app/views/layouts/_footer.html.haml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
%i.fas.fa-info
1414
About
1515
%li
16-
= link_to(gallery_path) do
16+
= link_to('https://www.flickr.com/groups/hackweek/pool/') do
1717
%i.fas.fa-images
18-
Pics
18+
Flickr Gallery
1919
%li
2020
= link_to(faqs_path) do
2121
%i.fas.fa-question

config/routes.rb

-2
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@
8383

8484
get '/faq', to: redirect('/faqs')
8585

86-
get 'gallery', to: 'gallery#index'
87-
8886
get 'about', to: 'about#show'
8987
get 'howto', to: 'about#show'
9088

0 commit comments

Comments
 (0)