Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cancan
Manage
Activity
Members
Plan
External wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Github Mirror
coopdevs
cancan
Commits
4560928d
Commit
4560928d
authored
11 years ago
by
Vasiliy Ermolovich
Browse files
Options
Downloads
Plain Diff
Merge pull request #848 from twe4ked/fix-generated-file-whitespace
Fix whitespace in generated ability.rb
parents
f6c1052b
f38d3e25
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/generators/cancan/ability/templates/ability.rb
+2
-2
2 additions, 2 deletions
lib/generators/cancan/ability/templates/ability.rb
with
2 additions
and
2 deletions
lib/generators/cancan/ability/templates/ability.rb
+
2
−
2
View file @
4560928d
...
...
@@ -11,12 +11,12 @@ class Ability
# can :read, :all
# end
#
# The first argument to `can` is the action you are giving the user
# The first argument to `can` is the action you are giving the user
# permission to do.
# If you pass :manage it will apply to every action. Other common actions
# here are :read, :create, :update and :destroy.
#
# The second argument is the resource the user can perform the action on.
# The second argument is the resource the user can perform the action on.
# If you pass :all it will apply to every resource. Otherwise pass a Ruby
# class of the resource.
#
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment