Skip to content

Commit

Permalink
Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
oriolgual committed Nov 15, 2016
1 parent 8d13a34 commit 6540ea1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions decidim-admin/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Decidim::Admin

This library adds and administration dashboard so users can manage their
organization, particpatory processes and all other entities.
organization, participatory processes and all other entities.

## Usage
Include this library in your Decidim' flavoured Rails app by:
Expand Down Expand Up @@ -30,7 +30,7 @@ $ bundle

### Participatory process

Here you can manage particpatory processes.
Here you can manage participatory processes.

TODO: Elaborate on this.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ module Admin
#
class StaticPagesController < ApplicationController
def index
authorize! :index, Decidim::StaticPage
authorize! :index, StaticPage
@pages = collection
end

def new
authorize! :new, Decidim::StaticPage
authorize! :new, StaticPage
@form = StaticPageForm.new
end

def create
authorize! :new, Decidim::StaticPage
authorize! :new, StaticPage
@form = StaticPageForm.from_params(form_params)

CreateStaticPage.call(@form) do
Expand Down

0 comments on commit 6540ea1

Please sign in to comment.