Updated ruby 1.9 hash syntax #1918

Merged
merged 2 commits into from Mar 4, 2014

Conversation

Projects
None yet
3 participants
Contributor

optimisticanshul commented Feb 26, 2014

No description provided.

Coverage Status

Coverage decreased (-0.46%) when pulling 85e43e0 on justanshulsharma:master into 952b37b on sferik:master.

lib/generators/rails_admin/install_generator.rb
@@ -11,7 +11,7 @@ class InstallGenerator < Rails::Generators::Base
def install
namespace = ask_for('Where do you want to mount rails_admin?', 'admin', _namespace)
- route("mount RailsAdmin::Engine => '/#{namespace}', :as => 'rails_admin'")
+ route("mount RailsAdmin:Engine: '/#{namespace}', as: 'rails_admin'")
@mshibuya

mshibuya Feb 27, 2014

Collaborator

The same problem here.

Coverage Status

Coverage decreased (-0.44%) when pulling 4e3698d on justanshulsharma:master into 952b37b on sferik:master.

mshibuya added a commit that referenced this pull request Mar 4, 2014

@mshibuya mshibuya merged commit 2cfc235 into sferik:master Mar 4, 2014

1 check passed

default The Travis CI build passed
Details
Collaborator

mshibuya commented Mar 4, 2014

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment