Comments (2)
Yeah! +1
Also, I can't seem to add view paths for other engines to the apotomo view paths! it seems to be HARDCODED to the DEFAULT_VIEW_PATHS = [File.join('app', 'widgets')]
and I can't find a way to make engines add other view paths to this.. been looking into cells implementation, but is a bit bewildering to me how it works.
Been trying with defining an app/cells structure in my other engine, but it has no effect. Looks like apotomo somehow overrides the cell engines behavior!?
Please fix this! Thanks! I can't even make a call to a "normal partial" outside the app/widgets
folder structure... :(
from apotomo.
@kristianmandrup That's two different issues. The concern of this ticket is to have Apotomo widgets mountable to routes directly without using the ActionController at all.
What you want is rendering global partials from the main application within your widget. I will respond to that in the #54 thread.
Please do not use one single ticket as a collection for feature requests but create separate ones, ok?
from apotomo.
Related Issues (20)
- widget inside engine with namespace, problem using url_for_event HOT 2
- Setup is run after "has_widgets" HOT 1
- License missing from gemspec HOT 1
- rspec [not found] HOT 3
- arguments passed to url_for can't be handled (Rails 4 upgrade) HOT 3
- render_widget helper collision HOT 1
- parent_controller in tests HOT 7
- Add :patch to routes for Rails 4 HOT 7
- Add append method (similar to replace method) HOT 6
- uninitialized constant Hooks::InheritableAttribute (NameError) HOT 2
- Wrong number of arguments (0 for 1) HOT 16
- Action Dispatch error when trying to generate a widget HOT 2
- Custom response code for ajax events support HOT 3
- Access to cookies in a widget HOT 5
- undefined method `setup_view_paths!' HOT 3
- Route related error when starting server HOT 4
- apotomo csrf vulnerability HOT 11
- uninitialized constant Cell::Rails (NameError) - Cell 4.0.0 HOT 4
- Minitest got error message about document_root_element
- Maintained? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apotomo.