Changeset 578

Show
Ignore:
Timestamp:
08/26/05 02:33:52 (3 years ago)
Author:
scott
Message:

Give themes the ability to override views. (closes #354)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/app/controllers/theme_controller.rb

    r474 r578  
    1616  def error 
    1717    render :nothing => true, :status => 404 
     18  end 
     19   
     20  def static_view_test 
    1821  end 
    1922 
  • trunk/config/environment.rb

    r571 r578  
    5656# Environment-specific configuration. 
    5757require_dependency 'migrator' 
     58require_dependency 'renderfix' 
    5859require_dependency 'theme' 
    5960require_dependency 'login_system' 
  • trunk/test/functional/theme_controller_test.rb

    r470 r578  
    3030  end 
    3131   
     32  def test_view_theming 
     33    get :static_view_test 
     34    assert_response :success 
     35 
     36    assert @response.body =~ /Static View Test from azure/ 
     37  end 
     38     
    3239  def disabled_test_javascript 
    3340    get :stylesheets, :filename => "typo.js"