site

Website's source files.
git clone git://git.ryanmj.xyz/site.git
Log | Files | Refs | LICENSE

application_controller.rb (406B)


      1 class ApplicationController < ActionController::Base
      2   def not_found
      3     raise ActionController::RoutingError.new('Not Found')
      4   end
      5 
      6   def self.random_comment
      7     File.join('shared', ['sneed', 'industrial_society', 'anime', 'choppa',
      8                          'france', 'gigachad', 'peter', 'shrek', 'sneed_img',
      9                          'tanku', 'toem', 'troll', 'virus_exe', 'windows'].sample)
     10   end
     11 end