Sha256: f5b6174af6192cacc723fe56e1942cad0729b6db29248c5e07405d2c4e2b477a

Contents?: true

Size: 580 Bytes

Versions: 15

Compression:

Stored size: 580 Bytes

Contents

#--
#            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
#                    Version 2, December 2004
#
#            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
#   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
#
#  0. You just DO WHAT THE FUCK YOU WANT TO.
#++

class ${ClassName}
  before do
    @language     = request.env['HTTP_ACCEPT_LANGUAGE']
    @current_url  = "http://#{request.env['HTTP_HOST']}#{request.env['REQUEST_URI']}"
    @domain       = "http://#{request.env['HTTP_HOST']}"
  end

  get '/' do
    erb :index
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
gennaro-0.3.6.5 templates/authentication/app/controllers/application.rb
gennaro-0.3.6.4 templates/authentication/app/controllers/application.rb
gennaro-0.3.6.3 templates/authentication/app/controllers/application.rb
gennaro-0.3.6.2 templates/authentication/app/controllers/application.rb
gennaro-0.3.6.1 templates/authentication/app/controllers/application.rb
gennaro-0.3.6 templates/authentication/app/controllers/application.rb
gennaro-0.3.5 templates/authentication/app/controllers/application.rb
gennaro-0.3.4.2 templates/authentication/app/controllers/application.rb
gennaro-0.3.4.1 templates/authentication/app/controllers/application.rb
gennaro-0.3.4 templates/authentication/app/controllers/application.rb
gennaro-0.3.3 templates/authentication/app/controllers/application.rb
gennaro-0.3.2.3 templates/authentication/app/controllers/application.rb
gennaro-0.3.2.2 templates/authentication/app/controllers/application.rb
gennaro-0.3.2.1 templates/authentication/app/controllers/application.rb
gennaro-0.3.2 templates/authentication/app/controllers/application.rb