mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
style fixes from rubocop
This commit is contained in:
parent
ba6643a394
commit
61f23f88c9
3 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@ module Admin
|
|||
end
|
||||
|
||||
private
|
||||
|
||||
# Only allow a trusted parameter "white list" through.
|
||||
def photo_params
|
||||
params[:photo]
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
class MigrateRolesForCancancan < ActiveRecord::Migration
|
||||
|
||||
def up
|
||||
# Store the number of existing roles
|
||||
old_roles = Role.count
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue