style fixes from rubocop

This commit is contained in:
Stella Rouzi 2014-08-14 12:08:01 +03:00
parent ba6643a394
commit 61f23f88c9
3 changed files with 2 additions and 1 deletions

View file

@ -19,6 +19,7 @@ module Admin
end
private
# Only allow a trusted parameter "white list" through.
def contact_params
# params.require(:contact).permit(:social_tag, :email, :facebook, :googleplus, :twitter, :instagram, :public)

View file

@ -44,6 +44,7 @@ module Admin
end
private
# Only allow a trusted parameter "white list" through.
def photo_params
params[:photo]

View file

@ -1,5 +1,4 @@
class MigrateRolesForCancancan < ActiveRecord::Migration
def up
# Store the number of existing roles
old_roles = Role.count