This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'https://rubygems.org' | |
if ENV['HEROKU_APP_NAME'] | |
ruby '2.2.2' | |
end | |
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | |
gem 'rails', '~> 4.2.6' | |
# Use SCSS for stylesheets | |
gem 'sass-rails', '~> 5.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@tournament_season = | |
if CustomDomain.where(:domain => request.host).any? | |
CustomDomain.where(:domain => request.host).first.tournament_season | |
else | |
TournamentSeason.find(params[:id]) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'https://rubygems.org' | |
if ENV['HEROKU_APP_NAME'] | |
ruby '2.2.2' | |
end | |
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | |
gem 'rails', '~> 4.2.6' | |
# Use SCSS for stylesheets | |
gem 'sass-rails', '~> 5.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: Evenement | |
slug: evenement | |
listed: false | |
published: true | |
content_type: "events" | |
is_layout: false | |
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tarted GET "/" at 2016-05-27 11:18:49 +0200 | |
Params: {} | |
Timezone: UTC | |
Detecting locale NL | |
Found page "Hoofdpagina" [index] | |
Error: undefined method `find' for nil:NilClass | |
/Users/Donkoko/.rvm/gems/ruby-2.2.0/gems/locomotivecms_steam-1.1.1/lib/locomotive/steam/liquid/drops/metafields.rb:93:in `_find_namespace' | |
/Users/Donkoko/.rvm/gems/ruby-2.2.0/gems/locomotivecms_steam-1.1.1/lib/locomotive/steam/liquid/drops/metafields.rb:84:in `find_namespace' | |
/Users/Donkoko/.rvm/gems/ruby-2.2.0/gems/locomotivecms_steam-1.1.1/lib/locomotive/steam/liquid/drops/metafields.rb:78:in `before_method' | |
/Users/Donkoko/.rvm/gems/ruby-2.2.0/gems/locomotivecms-liquid-4.0.0/lib/liquid/drop.rb:39:in `invoke_drop' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% link_to 'home' %} | |
<img src="{{ site.metafields.theme.logo_black }}" | |
data-src-retina="{{ site.metafields.theme.logo_black_retina }}" | |
class="logo" | |
width="152" height="21" alt=""> | |
{% endlink_to %} | |
{% link_to 'home' %} | |
<img src="{{ site.metafields.theme.logo_white }}" | |
data-src-retina="{{ site.metafields.theme.logo_white_retina }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Evenementen | |
slug: events | |
# description: A description of the content type for the editors | |
label_field_name: name | |
order_by: _position | |
order_direction: asc | |
public_submission_enabled: true | |
public_submission_account_emails: [] | |
fields: | |
- name: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
subscribe_to(Event::PRIMARY_ELECTED, Event::PrimaryElected.new(self)) | |
seeds.each{ |seed| add(seed) } | |
ObjectSpace.define_finalizer(self, self.class.finalize(pools)) | |
end |
NewerOlder