Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Controller name pluralized #9914

Merged
merged 1 commit into from

2 participants

@prathamesh-sonpatki

Using UsersController instead of UserController and users_controller instead of user_controller

@fxn fxn merged commit 8caafd9 into from
@prathamesh-sonpatki prathamesh-sonpatki deleted the branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 25, 2013
  1. @prathamesh-sonpatki
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/test/application/assets_test.rb
View
4 railties/test/application/assets_test.rb
@@ -86,8 +86,8 @@ def assert_no_file_exists(filename)
def test_precompile_does_not_hit_the_database
app_file "app/assets/javascripts/application.js", "alert();"
app_file "app/assets/javascripts/foo/application.js", "alert();"
- app_file "app/controllers/user_controller.rb", <<-eoruby
- class UserController < ApplicationController; end
+ app_file "app/controllers/users_controller.rb", <<-eoruby
+ class UsersController < ApplicationController; end
eoruby
app_file "app/models/user.rb", <<-eoruby
class User < ActiveRecord::Base; end
Something went wrong with that request. Please try again.