Skip to content

Commit

Permalink
Merge pull request #26 from screenconcept/features/fix_test_suite
Browse files Browse the repository at this point in the history
add workaround for missing controller
  • Loading branch information
alexanderadam committed Apr 23, 2015
2 parents 3901ba0 + 19908ad commit 3de53b1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions app/controllers/partystreusel/styleguide_controller.rb
@@ -1,5 +1,9 @@
module Partystreusel
class ApplicationController < ActionController::Base

end
class StyleguideController < ApplicationController
layout 'partystreusel'
def show
template = File.join(params[:controller].gsub('partystreusel/',''), params[:page])
render template
Expand Down
3 changes: 1 addition & 2 deletions styleguide/source/layouts/application.html.haml
Expand Up @@ -33,7 +33,7 @@

= csrf_meta_tags

%body.js-offcanvas{ class: body_class }
%body.js-offcanvas
.offcanvas__outer
.offcanvas__inner
%header.page__header{role: "banner"}
Expand All @@ -50,7 +50,6 @@
= render 'layouts/typekit'

-# Application JavaScripts
!= google_analytics_code
= javascript_include_tag 'application'#, async: !ScreenConcept.config.assets.debug

<!--[if lte IE 8]>
Expand Down
1 change: 1 addition & 0 deletions styleguide/source/layouts/partystreusel.html.haml

0 comments on commit 3de53b1

Please sign in to comment.