spec/fixtures/project/controller.rb in stasis-0.2.0.pre vs spec/fixtures/project/controller.rb in stasis-0.2.0

- old
+ new

@@ -1,13 +1,19 @@ # Root controller # --------------- require "#{File.dirname(__FILE__)}/plugin" +Stasis::Options.set_template_option 'scss', { :load_paths => ["#{File.dirname(__FILE__)}/../mixins"] } + # Before before 'index.html.haml' do @before_index_literal = :root +end + +before 'template_options.html.haml' do + @css = render 'template_options.css.scss' end before 'no_controller/index.html.haml' do @before_index_literal = :no_controller end \ No newline at end of file