Advertisement
Guest User

Untitled

a guest
Apr 2nd, 2015
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. root to: 'welcome#index'
  2. get '*path', to: 'welcome#index'
  3.  
  4. #... resources
  5.  
  6. app.config(function ($routeProvider) {
  7. $routeProvider
  8. .when('/projects', {
  9. templateUrl: 'assets/views/projects/ProjectsIndex.html',
  10. controller: 'ProjectsCtrl'
  11. })
  12.  
  13. Started GET "/projects" for 127.0.0.1 at 2015-04-02 11:29:32 +0200
  14. Processing by WelcomeController#index as HTML
  15. Parameters: {"path"=>"projects"}
  16. Rendered welcome/index.html.erb within layouts/application (0.0ms)
  17. Completed 200 OK in 34ms (Views: 33.4ms | ActiveRecord: 0.0ms)
  18.  
  19. Started GET "/assets/views/projects/ProjectsIndex.html" for 127.0.0.1 at 2015-04-02 11:34:45 +0200
  20. ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
  21. Processing by WelcomeController#index as HTML
  22. Parameters: {"path"=>"assets/views/projects/ProjectsIndex"}
  23. Rendered welcome/index.html.erb within layouts/application (1.3ms)
  24. Completed 200 OK in 70ms (Views: 57.1ms | ActiveRecord: 0.0ms)
  25.  
  26.  
  27. Started GET "/assets/views/projects/assets/weather-icons/css/weather-icons.min.css" for 127.0.0.1 at 2015-04-02 11:34:45 +0200
  28. Processing by WelcomeController#index as CSS
  29. Parameters: {"path"=>"assets/views/projects/assets/weather-icons/css/weather-icons.min"}
  30. Completed 500 Internal Server Error in 4ms
  31.  
  32. ActionView::MissingTemplate - Missing template welcome/index, application/index with {:locale=>[:en], :formats=>[:css], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :jbuilder]}. Searched in:
  33. * "/home/andrey/rails_projects/testcase_mgmt/app/views"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement